:root {
    /* Colors - Main Palette */
    --primary-main: #FF385C;
    --primary-light: #FF6E8C;
    --primary-dark: #E01E4C;
    --secondary-main: #FF385C; /* Assuming this is the same as primary based on Figma */
    --secondary-light: #FF6E8C;
    --secondary-dark: #E01E4C;

    /* Colors - Text */
    --text-primary: #222222;
    --text-secondary: #717171;
    --text-disabled: #BDBDBD;
    --text-contrast: #FFFFFF;

    /* Colors - Background */
    --background-default: #FFFFFF;
    --background-paper: #F7F7F7;
    --background-disabled: #E0E0E0;

    /* Colors - Status (from Figma, not used in initial request but good to have) */
    --status-error: #D32F2F;
    --status-warning: #ED6C02;
    --status-info: #0288D1;
    --status-success: #2E7D32;

    /* Colors - Actions (Overlays / Text) */
    --action-hover-overlay: rgba(0,0,0,0.04);
    --action-pressed-overlay: rgba(0,0,0,0.08);
    --action-disabled-bg-overlay: rgba(0,0,0,0.12); /* Used for background of disabled button */
    --action-disabled-content: rgba(0,0,0,0.32); /* Used for text of disabled button */


    /* Typography */
    --font-family-main: 'Outfit', sans-serif;

    /* Spacing (Base 4px) */
    --space-xxs: 4px;  /* 1 */
    --space-xs: 8px;   /* 2 */
    --space-s: 12px;   /* 3 */
    --space-m: 16px;   /* 4 */
    --space-l: 24px;   /* 6 */
    --space-xl: 32px;  /* 8 */
    --space-xxl: 64px; /* 16 */

    /* Corners (Base 4px) */
    --corner-xxs: 4px;
    --corner-xs: 8px;
    --corner-s: 12px;
    --corner-m: 16px;
    --corner-l: 24px;
    --corner-xl: 32px;
    --corner-xxl: 64px;

    /* Transitions */
    --transition-short: 0.15s ease;
    --transition-medium: 0.3s ease;
}

/* Global Styles */
body {
    font-family: var(--font-family-main);
    margin: 0;
    padding: 0;
    background-color: var(--background-default);
    color: var(--text-primary);
    line-height: 1.5;
    opacity: 0; /* For hero fade-in */
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl) 0;
}

h1, h2, h3 {
    font-family: var(--font-family-main);
    color: var(--text-primary);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem;
}

p {
    font-family: var(--font-family-main);
    font-size: 1.25rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-main);
    text-decoration: none;
    transition: color var(--transition-short);
}

a:hover {
    color: var(--primary-light);
}

/* Hero Section */
#hero {
    background-color: var(--background-paper);
    text-align: center;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding: var(--space-l) var(--space-m);
}

#hero .container {
    width: 100%;
    max-width: 1200px;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hero h1 {
    color: var(--text-primary);
    font-size: 3.8rem;
    margin-bottom: var(--space-l);
    line-height: 1.2;
}

#hero p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto var(--space-xl) auto;
}

#hero h2 {
    font-family: var(--font-family-main);
    font-size: 1.0rem;
    color: var(--text-primary);
    margin-top: var(--space-l);
    margin-bottom: var(--space-xl);
    font-weight: 300;
}

#loops-form {
    position: relative;
}

#loops-form input[type="email"] {
    padding: var(--space-s) var(--space-m);
    border: none;
    border-radius: var(--corner-xxl);
    background-color: var(--background-default);
    font-family: var(--font-family-main);
    font-size: 1rem;
    margin-right: var(--space-xs);
    min-width: 250px;
    box-shadow: none;
}

#loops-form button[type="submit"],
.cta-button {
    padding: var(--space-s) var(--space-l);
    background-color: var(--primary-main);
    color: var(--text-contrast);
    border: none;
    border-radius: var(--corner-xxl);
    font-family: var(--font-family-main);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color var(--transition-short), box-shadow var(--transition-short);
    position: relative;
    overflow: hidden;
}

#loops-form button[type="submit"]::before,
.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    transition: background-color var(--transition-short);
    z-index: 0;
}

#loops-form button[type="submit"]:hover::before,
.cta-button:hover::before {
    background-color: var(--action-hover-overlay);
}

#loops-form button[type="submit"]:active::before,
.cta-button:active::before {
    background-color: var(--action-pressed-overlay);
}

#loops-form button[type="submit"]:disabled,
.cta-button:disabled {
    background-color: var(--background-disabled);
    color: var(--action-disabled-content);
    cursor: not-allowed;
}

#loops-form button[type="submit"]:disabled::before,
.cta-button:disabled::before {
    background-color: var(--action-disabled-bg-overlay);
}

.rodo-text {
    font-family: var(--font-family-main);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* About Section */
#about {
    background-color: var(--background-default);
}

#about h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.card-container {
    display: flex;
    gap: var(--space-m);
    flex-direction: column;
}

.card {
    background-color: var(--background-paper);
    padding: var(--space-l);
    border: none;
    border-radius: var(--corner-xs);
    flex: 1;
    box-shadow: none;
}

.card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Why Us Section */
#why-us {
    background-color: var(--background-paper);
}

#why-us h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.grid-container {
    display: grid;
    gap: var(--space-l);
    grid-template-columns: 1fr;
}

.grid-item h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.grid-item p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* How It Works Section */
#how-it-works {
    background-color: var(--background-default);
    text-align: center;
}

#how-it-works h2 {
    margin-bottom: var(--space-xl);
}

#how-it-works ul {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-l);
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#how-it-works li {
    font-family: var(--font-family-main);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: var(--space-s);
}

.cta-appeal {
    font-family: var(--font-family-main);
    font-size: 1rem;
    color: var(--primary-main);
    font-weight: bold;
    margin-bottom: var(--space-m);
}

.cta-button {
    display: inline-block;
    margin-top: var(--space-m);
}

/* FAQ Section */
#faq {
    background-color: var(--background-paper);
}

#faq h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.accordion-item {
    background-color: var(--background-default);
    margin-bottom: var(--space-xs);
    border: none;
    border-radius: var(--corner-xs);
    box-shadow: none;
    overflow: hidden;
}

.accordion-header {
    background-color: transparent;
    color: var(--text-primary);
    cursor: pointer;
    padding: var(--space-m);
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: var(--font-family-main);
    font-weight: bold;
    transition: background-color var(--transition-short);
}

.accordion-header:hover {
    background-color: rgba(0,0,0,0.02);
}

.accordion-content {
    padding: 0 var(--space-m) var(--space-m) var(--space-m);
    display: none;
    overflow: hidden;
    background-color: var(--background-default);
}

.accordion-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    padding-top: var(--space-s);
}

/* Footer */
#footer {
    background-color: var(--background-default);
    padding: var(--space-xl) 0 var(--space-l) 0;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: var(--space-l);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-l);
    flex-wrap: wrap;
}

.footer-links div {
    text-align: left;
}

.footer-links h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: var(--space-s);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-links li a:hover {
    color: var(--text-primary);
}

.copyright-text {
    font-size: 0.75rem;
    color: var(--text-disabled);
    margin-top: var(--space-l);
}

/* Responsive Design */
@media (min-width: 768px) {
    .container {
        padding: var(--space-l) var(--space-m);
    }
    .card-container {
        flex-direction: row;
        gap: var(--space-l);
    }
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-l);
    }
    #loops-form {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #loops-form input[type="email"] {
        margin-bottom: 0;
        margin-right: var(--space-s);
    }
    .footer-links {
        gap: var(--space-xxl);
    }
    #hero {
        padding: var(--space-l) var(--space-m);
    }
    #hero h1 {
        font-size: 4.5rem;
    }
    #hero p {
        font-size: 1.25rem;
    }
    #hero h2 {
        font-size: 1.1rem;
        margin-top: var(--space-m);
    }
    .card-container {
        flex-direction: row;
        gap: var(--space-l);
    }
}

@media (min-width: 1024px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }
    .container {
        padding: var(--space-xl) 0;
    }
}

/* Utility for active accordion */
.accordion-item.active .accordion-content {
    display: block;
}

/* Global Resets and Base Styles */
:root {
    --font-primary: 'Outfit', sans-serif;

    /* Updated Color Palette - Light Mode */
    --text-main: #1A1A1A; /* Darker for better contrast */
    --text-secondary: #555555;
    --text-disabled: #B0B0B0;
    --text-contrast: #FFFFFF;
    
    --bg-default: #FFFFFF;
    --bg-section-alt: #F7F7F7; /* Will be used sparingly or removed if all white */
    --bg-disabled: #E0E0E0;

    --accent-main: #FF385C;
    --accent-light: #FF6B8A;
    --accent-dark: #D62F4C;

    --status-success: #2E7D32;
    --status-error: #D32F2F;
    --status-warning: #FFA000;

    /* Spacing System (base 4px) */
    --space-xs: 4px;
    --space-s: 8px;
    --space-m: 16px;
    --space-l: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;
    --space-xxxl: 64px;

    /* Corner Radius System (base 4px) */
    --corner-s: 4px;
    --corner-m: 8px;
    --corner-l: 12px;
    --corner-xl: 16px;
    --corner-xxl: 24px; /* For pill shapes, use a very large value like 50px or 9999px */
    --corner-pill: 9999px;

    --border-default: 1px solid #E0E0E0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%; /* 16px base */
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-default);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 0;
    animation: fadeInBody 0.7s ease-out forwards;
}

h1, h2, h3 {
    margin-bottom: var(--space-m);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive font size */
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: var(--space-l);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--text-main);
}

p {
    margin-bottom: var(--space-m);
    font-size: 1.25rem;
    color: var(--text-secondary);
}

a {
    color: var(--accent-main);
    text-decoration: none;
    transition: color 150ms ease;
}

a:hover,
a:focus {
    color: var(--accent-dark);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: var(--space-l) 0;
}

.content-section {
    padding: var(--space-xxl) 0;
    background-color: var(--bg-default); /* All sections white by default */
}

.section-bg-alt {
    /* background-color: var(--bg-section-alt); Keeping this for now if we need subtle bg diff */
    /* For now, keep it white to match the user's request for a white page */
     background-color: var(--bg-default);
}

/* Hero Section */
.hero-section {
    background-color: var(--bg-section-alt); /* Hero is allowed to have the light gray */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-xl);
    padding-top: var(--space-xxxl); /* Reverted from calc(), adjust as needed */
    position: relative;
}

.hero-section .container {
    padding-top: var(--space-xl); /* Reduced padding at the top */
    padding-bottom: var(--space-xxxl);
}

.hero-logo-placeholder img {
    width: 180px; /* Adjust as needed */
    height: auto;
    margin: 0 auto var(--space-l) auto;
}

.hero-section h1 {
    color: var(--text-main);
    margin-bottom: var(--space-l);
    font-size: clamp(3.5rem, 7vw, 5.5rem); /* Increased main hero text size */
}

.hero-subtext {
    font-size: 1.5rem; /* Increased subtext size */
    line-height: 1.7;
    max-width: 750px; /* Adjusted max-width slightly */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-xxl); /* Increased space to newsletter */
    color: var(--text-secondary);
}

.newsletter-signup h2 {
    font-size: 1.1rem; /* Smaller than hero-subtext, but larger than RODO */
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl); /* Increased margin-bottom */
}

.newsletter-signup #subscriber-count {
    font-weight: 700;
    color: var(--accent-main);
}

#loops-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-s);
    margin-bottom: var(--space-s);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

#loops-form input[type="email"] {
    flex-grow: 1;
    padding: var(--space-m);
    border-radius: var(--corner-pill);
    background-color: var(--bg-default);
    font-size: 1rem;
    min-width: 200px;
}

#loops-form button[type="submit"] {
    padding: var(--space-m) var(--space-l);
    background-color: var(--accent-main);
    color: var(--text-contrast);
    border: none;
    border-radius: var(--corner-pill);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 150ms ease, transform 150ms ease;
}

#loops-form button[type="submit"]:hover {
    background-color: var(--accent-dark);
}
#loops-form button[type="submit"]:active {
    transform: scale(0.98);
}
#loops-form button[type="submit"]:disabled {
    background-color: var(--bg-disabled);
    color: var(--text-disabled);
    cursor: not-allowed;
}

#form-success-message {
    margin-top: var(--space-m);
    font-weight: 500;
}

.rodo-text {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: var(--space-m) auto 0 auto;
    max-width: 600px;
}

/* "Czym jest Venuely?" Section (o-nas) - COMMENTED OUT */
/*
#o-nas .feature-block {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xxl);
}

#o-nas .feature-block:last-child {
    margin-bottom: 0;
}

#o-nas .feature-image { 
    flex-basis: 45%;
    min-height: 250px; 
    width: 100%; 
    border-radius: var(--corner-l);
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    margin: 0; 
}

#o-nas .feature-image img {
    max-width: 100%;
    max-height: 400px; 
    height: auto;
    border-radius: var(--corner-m); 
    object-fit: contain;
}

#o-nas .feature-image figcaption {
    font-size: 0.75rem;
    color: var(--text-disabled);
    margin-top: var(--space-xs);
    text-align: center;
}

#o-nas .feature-image figcaption a {
    color: var(--text-disabled);
    text-decoration: underline;
}

#o-nas .feature-image figcaption a:hover {
    color: var(--text-secondary);
}

#o-nas .feature-text {
    flex-basis: 50%;
    text-align: left;
}

#o-nas .feature-text h3 {
    margin-bottom: var(--space-s);
    color: var(--text-main);
}

@media (min-width: 768px) {
    #o-nas .feature-block {
        flex-direction: row;
        text-align: left;
        align-items: center; 
    }
    #o-nas .feature-block:nth-child(odd) .feature-image.feature-image-left {
        order: 1;
        margin-right: var(--space-xl); 
        margin-left: 0;
    }
    #o-nas .feature-block:nth-child(odd) .feature-text {
        order: 2;
        padding-left: 0; 
    }

    #o-nas .feature-block:nth-child(even) .feature-text {
        order: 1; 
        margin-right: var(--space-xl); 
        margin-left: 0;
        padding-right: 0; 
    }
    #o-nas .feature-block:nth-child(even) .feature-image.feature-image-right { 
        order: 2; 
        margin-left: 0; 
    }
    
    #o-nas .feature-image { 
        width: auto; 
        flex-shrink: 0; 
    }
}
*/

/* NEW Features Grid Section */
#features-grid .container h2 {
    text-align: center;
    margin-bottom: var(--space-xl);
}

/* Override .container for #features-grid to make it full-width with side padding */
#features-grid > .container {
    max-width: none; /* Remove the max-width constraint */
    width: 100%;     /* Span full width of its parent section */
    box-sizing: border-box; /* Include padding in the width calculation */
    padding-top: var(--space-l); /* Retain existing top padding */
    padding-bottom: var(--space-l); /* Retain existing bottom padding */
    padding-left: var(--space-xl);  /* 32px margin on the left */
    padding-right: var(--space-xl); /* 32px margin on the right */
    margin-left: 0; /* Remove auto margins if any from general .container */
    margin-right: 0;/* Remove auto margins if any from general .container */
}

.collage-container {
    display: grid;
    grid-template-columns: 1fr; /* Single column for mobile */
    grid-auto-rows: auto;
    gap: var(--space-l);
}

.feature-tile {
    background-color: var(--background-paper);
    padding: var(--space-l);
    border-radius: var(--corner-l);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
    min-height: 250px;
    color: var(--text-primary);
}
.feature-tile:hover { transform: translateY(-5px); }
.feature-tile > * { position: relative; z-index: 1; }

/* --- Base Icon & Image Styles (Applied to all screen sizes) --- */

/* Tile 1 */
.feature-tile:nth-child(1) {
    background-image: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 40%), url('assets/images/venuely-image-1.png');
    background-size: cover;
    background-position: center;
    color: var(--text-contrast);
    min-height: unset;
    aspect-ratio: 1 / 1;
    justify-content: flex-end;
    align-items: flex-start;
}
.feature-tile:nth-child(1) p { color: inherit; }

/* Tile 2 */
.feature-tile:nth-child(2) {
    background-color: #F0F4FF;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(0,0,0,0.08)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M4 21V14M4 10V3M12 21V12M12 8V3M20 21V16M20 12V3M1 14H7M9 8H15M17 16H23'/%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: center; background-size: 50%;
}

/* Tile 3 */
.feature-tile:nth-child(3) {
    background-color: #F0FFF4;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(0,0,0,0.08)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M9.5 13.5L3 20M14.5 3.5L12 6L9.5 3.5L7 6L4.5 3.5L2 6M19.5 8.5L17 11L14.5 8.5L12 11M12.5 13.5L15 11L22 18L19.5 20.5L12.5 13.5Z'/%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: center; background-size: 50%;
}

/* Tile 4 */
.feature-tile:nth-child(4) {
    background-color: #FFFBEF;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(0,0,0,0.08)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M9 12.2222L10.6667 14L15 9M21.5 12C21.5 17.2467 17.2467 21.5 12 21.5C6.75329 21.5 2.5 17.2467 2.5 12C2.5 6.75329 6.75329 2.5 12 2.5C17.2467 2.5 21.5 6.75329 21.5 12Z'/%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: center; background-size: 30%;
}

/* Tile 5 */
.feature-tile:nth-child(5) {
    background-color: #F5F3FF;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M20 12V8C20 6.89543 19.1046 6 18 6H16C16 4.34315 14.6569 3 13 3C11.3431 3 10 4.34315 10 6H6C4.89543 6 4 6.89543 4 8V12' stroke='rgba(0,0,0,0.08)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3cpath d='M4 12V16C4 17.1046 4.89543 18 6 18H8C8 19.6569 9.34315 21 11 21C12.6569 21 14 19.6569 14 18H18C19.1046 18 20 17.1046 20 16V12' stroke='rgba(0,0,0,0.08)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: center; background-size: 50%;
}

/* Tile 6 */
.feature-tile:nth-child(6) {
    background-color: #EBF8FF;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(0,0,0,0.08)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: center; background-size: 50%;
}

/* Tile 7 */
.feature-tile:nth-child(7) {
    background-image: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 40%), url('assets/images/venuely-pic-2.png');
    background-size: cover;
    background-position: center;
    color: var(--text-contrast);
    min-height: unset;
    aspect-ratio: 1 / 1;
    justify-content: flex-end;
    align-items: flex-start;
}
.feature-tile:nth-child(7) p { color: inherit; }

/* Tile 8 */
.feature-tile:nth-child(8) {
    background-color: #F0FFF0;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(0,0,0,0.08)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='12' cy='12' r='10'/%3e%3cpath d='m14.31 8-4.62 8'/%3e%3ccircle cx='10.5' cy='8.5' r='.5'/%3e%3ccircle cx='13.5' cy='15.5' r='.5'/%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: center; background-size: 50%;
}

/* Tile 9 */
.feature-tile:nth-child(9) {
    background-color: #FFF5F5;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(0,0,0,0.08)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3e%3ccircle cx='12' cy='12' r='3'/%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: center; background-size: 60%;
}

/* --- Tablet Layout --- */
@media (min-width: 768px) and (max-width: 1023px) {
    .collage-container {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 250px;
    }
    .feature-tile, .feature-tile:nth-child(1), .feature-tile:nth-child(7) {
        aspect-ratio: auto; /* Reset aspect ratio for grid */
        min-height: 250px;
    }
}

/* --- Desktop Layout --- */
@media (min-width: 1024px) {
    .collage-container {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 250px);
    }
    .feature-tile, .feature-tile:nth-child(1), .feature-tile:nth-child(7) {
        aspect-ratio: auto; /* Reset aspect ratio */
        min-height: unset;
    }
    .feature-tile:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; justify-content: flex-start; }
    .feature-tile:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
    .feature-tile:nth-child(3) { grid-column: 3 / 4; grid-row: 1 / 2; }
    .feature-tile:nth-child(4) { grid-column: 2 / 4; grid-row: 2 / 3; }
    .feature-tile:nth-child(5) { grid-column: 1 / 2; grid-row: 3 / 4; }
    .feature-tile:nth-child(6) { grid-column: 2 / 3; grid-row: 3 / 4; }
    .feature-tile:nth-child(7) { grid-column: 3 / 4; grid-row: 3 / 5; justify-content: flex-start; }
    .feature-tile:nth-child(8) { grid-column: 1 / 2; grid-row: 4 / 5; }
    .feature-tile:nth-child(9) { grid-column: 2 / 3; grid-row: 4 / 5; }
}

/* MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: hsla(0, 0%, 0%, 0.3);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

body.modal-open .modal-overlay {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--background-paper);
    padding: var(--space-xl) var(--space-xxl);
    border-radius: var(--corner-l);
    max-width: 650px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.1, 0.9, 0.2, 1);
}

body.modal-open .modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: var(--space-m);
    right: var(--space-m);
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease;
}
.modal-close-btn:hover {
    color: var(--text-main);
}

#modal-title {
    margin-bottom: var(--space-m);
    font-size: 2rem;
    color: var(--text-main);
}

#modal-explanation {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Restore specific blob styles using :nth-child */
.feature-tile:nth-child(1)::after {
    /* ... existing tile 1 blob styles ... */
}
.feature-tile:nth-child(2)::after {
    /* ... existing tile 2 blob styles ... */
}
/* etc. */

/* --- Blob Styles --- */
/* Tile 1: Soft Sunrise */
.feature-tile:nth-child(1)::after {
    background-image:
        radial-gradient(circle at 20% 20%, hsla(28, 100%, 80%, 0.5), transparent 30%),
        radial-gradient(circle at 80% 30%, hsla(340, 100%, 85%, 0.5), transparent 30%),
        radial-gradient(circle at 50% 80%, hsla(220, 100%, 85%, 0.4), transparent 30%);
    animation-duration: 25s;
}
/* ... Keep other tile blob styles, just change selector ... */
.feature-tile:nth-child(2)::after {
    background-image:
        radial-gradient(circle at 80% 20%, hsla(190, 100%, 80%, 0.6), transparent 30%),
        radial-gradient(circle at 20% 80%, hsla(240, 100%, 85%, 0.5), transparent 30%),
        radial-gradient(circle at 70% 70%, hsla(160, 100%, 80%, 0.4), transparent 30%);
    animation-duration: 35s;
    animation-delay: -3s;
}
.feature-tile:nth-child(3)::after {
    background-image:
        radial-gradient(circle at 20% 80%, hsla(120, 100%, 80%, 0.5), transparent 30%),
        radial-gradient(circle at 70% 30%, hsla(45, 100%, 80%, 0.6), transparent 30%),
        radial-gradient(circle at 30% 20%, hsla(200, 100%, 85%, 0.4), transparent 30%);
    animation-duration: 30s;
    animation-delay: -5s;
}
.feature-tile:nth-child(4)::after {
    background-image:
        radial-gradient(circle at 70% 80%, hsla(0, 100%, 80%, 0.5), transparent 30%),
        radial-gradient(circle at 30% 20%, hsla(50, 100%, 80%, 0.6), transparent 30%);
    animation-duration: 28s;
    animation-delay: -2s;
}
.feature-tile:nth-child(5)::after {
    background-image:
        radial-gradient(circle at 20% 50%, hsla(280, 80%, 85%, 0.6), transparent 30%),
        radial-gradient(circle at 80% 50%, hsla(330, 80%, 85%, 0.5), transparent 30%);
    animation-duration: 32s;
    animation-delay: -4s;
}

.feature-tile h4 {
    font-size: 1.8rem; /* Unified title size */
    margin-bottom: var(--space-xxs); /* Reduced vertical space */
    /* Color is inherited from .feature-tile */
}

.feature-tile p {
    font-size: 1.1rem; /* Unified subtitle size */
    color: var(--text-secondary); /* Default subtitle color */
    line-height: 1.2; /* Changed line-height */
    margin: 0;
}

/* Example sizing for a collage effect - adjust as needed */
@media (min-width: 1024px) {
    .collage-container {
        grid-template-columns: repeat(3, 1fr); /* 3 columns */
        grid-auto-rows: minmax(150px, auto); /* Base row height, tiles can expand */
    }
    .tile-1 {
        grid-column: span 1;
        grid-row: span 2; /* More vertical */
    }
    .tile-2 {
        grid-column: span 1;
        grid-row: span 1;
    }
    .tile-3 {
        grid-column: span 1;
        grid-row: span 1;
    }
    .tile-4 {
        grid-column: span 2;
        grid-row: span 1; 
    }
    .tile-5 {
        grid-column: span 1;
        grid-row: span 2; /* More vertical */
    }
    .tile-6 {
        grid-column: span 1; 
        grid-row: span 1;
    }
    .tile-7 {
        grid-column: span 1;
        grid-row: span 1;
    }
    .tile-8 {
        grid-column: span 2; 
        grid-row: span 2; /* Larger block */
    }
    .tile-9 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .collage-container {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 250px; /* Uniform row height */
    }
    /* No custom spans needed, creates a simple 3x3 grid */
}

/* For mobile (default, less than 768px), the auto-fit will typically make it 1 column */
/* Ensure no specific spans are applied outside media queries if they were before */

/* "Dlaczego warto?" Section */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.benefit-item {
    text-align: center;
    padding: var(--space-l);
    /* background-color: var(--bg-default); No background needed if section is white */
    border-radius: var(--corner-m);
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.05); No shadows */
}

.benefit-icon-placeholder {
    width: 60px;
    height: 60px;
    background-color: var(--accent-light);
    border-radius: 50%;
    margin: 0 auto var(--space-m) auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-contrast);
    font-size: 1.5rem; /* Example icon size */
}
/* Example text for icon placeholder */
.benefit-icon-placeholder::before {
    content: "★"; 
}

.benefit-item h3 {
    margin-bottom: var(--space-s);
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* "Co planujemy" + FAQ Section */
#co-planujemy .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl) auto;
}

#co-planujemy .platform-features {
    margin-bottom: var(--space-xxl);
    text-align: center;
}

#co-planujemy .platform-features h3 {
    margin-bottom: var(--space-l);
}

#co-planujemy .platform-features ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--space-l);
    text-align: left; /* Align list items left for readability */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#co-planujemy .platform-features ul li {
    padding-left: var(--space-m);
    position: relative;
    margin-bottom: var(--space-s);
}

#co-planujemy .platform-features ul li::before {
    content: "✓"; /* Checkmark or other icon */
    color: var(--accent-main);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.cta-text {
    margin-bottom: var(--space-m);
    font-size: 1.1rem;
}

.accent-text {
    color: var(--accent-main);
    font-weight: 700;
}

.cta-button-container {
    text-align: center;
    margin-top: var(--space-l);
}

.cta-button {
    display: inline-block;
    padding: var(--space-m) var(--space-xl);
    background-color: var(--accent-main);
    color: var(--text-contrast);
    border-radius: var(--corner-pill);
    font-weight: 500;
    text-decoration: none;
    transition: background-color 150ms ease, transform 150ms ease;
}

.cta-button:hover {
    background-color: var(--accent-dark);
    color: var(--text-contrast); /* Ensure text color remains on hover */
    text-decoration: none;
}
.cta-button:active {
    transform: scale(0.98);
}

.faq-section h3 {
    text-align: center;
    margin-bottom: var(--space-l);
    margin-top: var(--space-xxl); /* Space between features and FAQ title */
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: var(--space-s);
    border: var(--border-default);
    border-radius: var(--corner-m);
    overflow: hidden; /* Ensures content doesn't spill out on animation */
}

.accordion-header {
    background-color: transparent; /* No background */
    color: var(--text-main);
    cursor: pointer;
    padding: var(--space-m) var(--space-l);
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    position: relative;
}

.accordion-header::after {
    content: '+'; /* Indicator for collapsed state */
    font-size: 1.5rem;
    color: var(--accent-main);
    position: absolute;
    right: var(--space-l);
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
    content: '−'; /* Indicator for expanded state */
    transform: translateY(-50%) rotate(180deg); /* Optional: rotate for a different effect */
}

.accordion-content {
    padding: 0 var(--space-l) var(--space-l) var(--space-l);
    background-color: transparent;
    display: none;
    border-top: var(--border-default); /* Separator line */
}

.accordion-content p {
    margin-bottom: 0; /* Remove default p margin if it's the only element */
    padding-top: var(--space-m);
}

/* Social Media Section */
#social-media {
    text-align: center;
}
#social-media h2 {
    margin-bottom: var(--space-l);
}
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-l);
    flex-wrap: wrap;
}
.social-link {
    font-size: 1.1rem;
    padding: var(--space-s) var(--space-m);
    /* Add more styling for social links if needed, e.g., icons */
    text-decoration: none;
    color: var(--accent-main);
}
.social-link:hover {
    color: var(--accent-dark);
    text-decoration: underline;
}

/* Contact Section */
#kontakt {
    text-align: center;
}
#kontakt p {
    font-size: 1.1rem;
}
#kontakt a {
    font-weight: 500;
}

/* Footer */
footer {
    text-align: center;
    /* border-top: var(--border-default); REMOVED as per request */ 
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-s);
}

footer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.footer-links a {
    color: var(--text-secondary);
    margin: 0 var(--space-s);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-main);
}

/* Animation for Hero Section - optional fade-in */
body {
    opacity: 0;
    animation: fadeInBody 0.7s ease-out forwards;
}

@keyframes fadeInBody {
    to {
        opacity: 1;
    }
}

/* Responsive adjustments if any further needed */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 3rem; /* Adjusted for new base size */
    }
    .hero-subtext {
        font-size: 1.25rem; /* Adjusted for new base size */
    }
    #loops-form {
        flex-direction: column;
        max-width: 100%;
    }
    #loops-form input[type="email"],
    #loops-form button[type="submit"] {
        width: 100%;
        max-width: 350px; /* Limit width on mobile too */
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    #o-nas .feature-text {
        text-align: center; /* Center text on mobile if image is full width */
    }
    #o-nas .feature-block:nth-child(odd) .feature-text,
    #o-nas .feature-block:nth-child(even) .feature-text {
        padding-left: 0;
        padding-right: 0;
    }

    .vision-points {
        grid-template-columns: 1fr; /* Stack vision points on mobile */
    }

    .social-icons-container {
        gap: var(--space-l); /* Adjusted gap for mobile */
    }
    .social-icon-link {
        font-size: 1.2rem; /* Keep font-size if it affects anything, or remove */
        width: 34px; /* Adjusted for mobile (approx 15% smaller than 40px) */
        height: 34px; /* Adjusted for mobile */
    }
}

/* NEW: Top Navigation Bar */
.top-nav {
    background-color: var(--bg-section-alt);
    position: relative;
}

.top-nav .container {
    display: flex;
    justify-content: center; /* Center the logo */
    align-items: center;
    padding-top: var(--space-s);
    padding-bottom: var(--space-s);
}

.nav-logo img {
    height: 64px; /* Adjust as needed, e.g. 40px or 50px */
    width: auto;
}

/* "Wizja Przyszłości" Section (formerly co-planujemy) - COMMENTED OUT */
/*
#wizja-przyszlosci .section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl) auto;
}

.vision-points {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.vision-point {
    display: flex;
    align-items: flex-start;
    gap: var(--space-l);
    padding: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
}

.vision-icon {
    flex-shrink: 0;
    width: 48px; 
    height: 48px; 
    object-fit: contain; 
}

.vision-icon-placeholder {
    display: none; 
}

.vision-icon-placeholder::before {
    content: "\";
}

.vision-text-content {
    flex-grow: 1;
    text-align: left;
}

.vision-point h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--text-main);
}

.vision-point p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

#wizja-przyszlosci .cta-text {
    text-align: center;
    margin-top: var(--space-l);
}

#wizja-przyszlosci .cta-button-container {
    text-align: center;
    margin-top: var(--space-l);
}
*/

/* Merged Social Media & Contact Section */
#social-contact {
    text-align: center;
    /* background-color: var(--bg-section-alt); /* Kept from original social-media */
}

#social-contact h2 {
    margin-bottom: var(--space-m);
}

#social-contact > .container > p:first-of-type { /* The intro paragraph */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-xl);
}

.social-icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl); /* Increased gap for more spacing */
    margin-bottom: var(--space-l);
}

.social-icon-link {
    color: var(--accent-main);
    text-decoration: none;
    border-radius: var(--corner-pill);
    width: 54px; /* Reduced size by approx 15% (from 64px) */
    height: 54px; /* Reduced size by approx 15% (from 64px) */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease; /* Added subtle transform for interaction */
}

.social-icon-link svg, /* Style existing SVGs */
.social-icon-link img { /* Style new IMG SVGs */
    width: 100%; /* Use 100% to fill the <a> tag */
    height: 100%; /* Use 100% to fill the <a> tag */
    object-fit: contain;
}

.social-icon-link svg {
    fill: var(--accent-main); /* Set icon color for remaining inline SVGs */
}

.social-icon-link:hover svg {
    fill: var(--accent-dark); /* Darken icon on hover for remaining inline SVGs */
}

/* img SVGs will inherent color from the file or can be targeted if needed */

.social-icon-link:hover {
    /* background-color: var(--accent-light); Removed hover background */
    text-decoration: none;
    transform: scale(1.1); /* Slight scale on hover instead of background change */
}

.contact-email {
    font-size: 1.1rem;
    margin-top: var(--space-m);
}

.contact-email a {
    font-weight: 500;
}

/* Ensure no double border-top from an old class */
#footer { /* If this ID is still used, ensure its border-top is also removed or reset */
    border-top: none !important; 
}

/* Remove styles for .accordion and .accordion-item if not used elsewhere, */
/* or ensure they don't conflict if kept for other potential uses. */
/* For now, assuming they are specific to the old FAQ and might not be needed globally. */
/* If they were styled very generically, they might not cause issues. */

/* Example: Hiding old accordion style if it's too specific */
/* .accordion, .accordion-item { display: none; } */

/* Make sure the overall body animation is still present */
body {
    font-family: var(--font-primary);
    background-color: var(--bg-default);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 0; /* For hero fade-in */
    animation: fadeInBody 0.7s ease-out forwards; /* Renamed from just fadeIn to avoid conflicts if any */
}

@keyframes fadeInBody {
    to {
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 3rem; /* Adjusted for new base size */
    }
    .hero-subtext {
        font-size: 1.25rem; /* Adjusted for new base size */
    }
    /* ... (other existing mobile styles) ... */

    .vision-points {
        grid-template-columns: 1fr; /* Stack vision points on mobile */
    }

    .social-icons-container {
        gap: var(--space-l); /* Adjusted gap for mobile */
    }
    .social-icon-link {
        font-size: 1.2rem; /* Keep font-size if it affects anything, or remove */
        width: 34px; /* Adjusted for mobile (approx 15% smaller than 40px) */
        height: 34px; /* Adjusted for mobile */
    }
}

/* Styling for new text elements and adjustments */
.section-subheading {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: left;
    margin-top: calc(var(--space-m) * -0.5);
    margin-bottom: var(--space-xl);
    max-width: 750px;
    line-height: 1.5;
}

.section-paragraph {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-m);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-paragraph.strong {
    font-weight: 500;
    color: var(--text-main);
}

.section-h3 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    color: var(--text-main);
    text-align: center;
    margin-top: var(--space-xxxl); /* Increased top margin for more separation */
    margin-bottom: var(--space-l);
}

/* "Dlaczego warto?" Section Adjustments */
#dlaczego-warto .benefit-item {
    text-align: center;
    padding: var(--space-l);
    background-color: var(--bg-section-alt);
    border-radius: var(--corner-m);
    /* Removed box-shadow as per earlier requests */
}

#dlaczego-warto .benefit-item h3 {
    margin-bottom: var(--space-s);
    font-size: 1.3rem;
}

/* "Wizja Przyszłości" Section Adjustments */
#wizja-przyszlosci .vision-points {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

#wizja-przyszlosci .vision-point {
    display: flex;
    align-items: flex-start;
    gap: var(--space-l);
    padding: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
}

#wizja-przyszlosci .vision-point h4 {
    font-size: 1.2rem;
}

.signup-benefits-list {
    list-style: none;
    padding-left: 0;
    max-width: 500px;
    margin: var(--space-m) auto 0 auto;
    text-align: left;
}

.signup-benefits-list li {
    font-size: 1.1rem;
    color: var(--text-main);
    padding-left: var(--space-l);
    position: relative;
    margin-bottom: var(--space-s);
    line-height: 1.5;
}

.signup-benefits-list li::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-main);
    font-size: 1.1rem;
}

/* Ensure benefit icon placeholder CSS is removed or commented out if not used */
.benefit-icon-placeholder {
    display: none;
}

/* Section Subheading Alignment */
.section-subheading {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: left;
    margin-top: calc(var(--space-m) * -0.5);
    margin-bottom: var(--space-xl);
    max-width: 100%;
    line-height: 1.5;
}

/* Ensure specific paragraph styles are reviewed against the new global p size */
#o-nas .feature-text p,
#dlaczego-warto .benefit-item p,
#wizja-przyszlosci .vision-point p,
#wizja-przyszlosci .section-paragraph,
#social-contact .container > p:first-of-type,
#social-contact .contact-email,
footer p {
    font-size: 1.25rem;
}

/* Exception: Rodo text and potentially vision point details might need to be smaller */
#wizja-przyszlosci .vision-point p {
    font-size: 1.1rem;
}

/* "Dlaczego warto dołączyć już teraz?" section - custom list styling */
.signup-benefits-list {
    list-style: none;
    padding-left: 0;
    display: flex; /* Arrange items in a row */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: space-around; /* Distribute items evenly */
    gap: var(--space-l);
    max-width: 900px; /* Adjust max-width as needed */
    margin: var(--space-xl) auto var(--space-xl) auto; 
}

.signup-benefits-list li {
    font-size: 1.2rem; /* Increased text size */
    color: var(--text-main);
    /* padding-left: var(--space-l); Remove default padding */
    position: relative;
    margin-bottom: var(--space-s);
    line-height: 1.5;
    display: flex; /* Align icon and text */
    flex-direction: column; /* Stack icon above text */
    align-items: center; /* Center items */
    text-align: center;
    flex-basis: 250px; /* Give a base width to each item */
}

.signup-benefits-list .benefit-icon-placeholder {
    /* This class is no longer used for the actual icons here, keep it hidden or remove */
    display: none;
}

.signup-benefits-list li::before {
    /* content: '✨'; Remove default emoji, using span instead */
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-main);
    font-size: 1.1rem;
}

.benefit-icon {
    width: 64px; /* Adjust size as needed */
    height: 64px; /* Adjust size as needed */
    object-fit: contain;
    margin-bottom: var(--space-s);
}

/* --- Responsive Design Adjustments --- */

@media (max-width: 1023px) {
    .container {
        width: 90%;
    }
}

@media (max-width: 767px) {
    /* --- General Typography for Mobile --- */
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero-section h1 {
        font-size: 2.8rem; /* Specific override for hero */
    }
    .hero-subtext {
        font-size: 1.1rem;
    }

    /* --- Hero Section --- */
    .hero-section .container {
        padding-top: var(--space-xxl);
        padding-bottom: var(--space-xxl);
    }

    /* --- Newsletter Form --- */
    .newsletter-signup {
        width: 100%;
    }
    #loops-form {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-s);
    }
    #loops-form input[type="email"] {
        margin-right: 0;
        min-width: unset;
        width: 100%;
        box-sizing: border-box;
    }
    #loops-form button[type="submit"] {
        width: 100%;
    }

    /* --- Collage Container for Mobile --- */
    .collage-container {
        grid-template-columns: 1fr; /* Single column */
        grid-auto-rows: auto; /* Let content define height */
    }
    /* Reset all grid spanning for mobile */
    .feature-tile:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }
    /* Reset image tile styles that affect layout */
    .feature-tile:nth-child(1), .feature-tile:nth-child(7) {
        min-height: 350px; /* Give image tiles a bit more height on mobile */
    }

    /* --- Modal on Mobile --- */
    .modal-content {
        padding: var(--space-xl) var(--space-l);
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }
    #modal-title {
        font-size: 1.8rem;
    }
    #modal-explanation {
        font-size: 1rem;
    }
    
    /* --- Social/Contact Section --- */
    #social-contact > .container > p:first-of-type {
        font-size: 1rem;
    }
}