/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --color-primary: #020248;      /* Deep Navy Blue */
    --color-secondary: #ffd699;    /* Light Peach */
    --color-accent: #fbb03b;       /* Orange */
    --color-tertiary: #d48245;     /* Burnt Orange */
    --color-background: #F7EFE7;   /* Off White */
    --color-thistle: thistle;      /* Light Purple */
    --color-mistyrose: mistyrose;  /* Light Pink */

    /* Font Families */
    --font-primary: 'Cormorant Garamond', serif;
    --font-secondary: 'Noto Serif', serif;

    /* Font Weights */
    --font-cormorant-regular: 'CormorantGaramondRegular';
    --font-cormorant-bold: 'CormorantGaramondBold';
    --font-noto-medium: 'NotoSerifMedium';
    --font-noto-bold: 'NotoSerifBold';
}

html, body {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: var(--color-background);
    font-family: var(--font-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Common Styles */
.input-field {
    height: 50px;
    background-color: var(--color-accent);
    margin: 10px;
    text-align: center;
    border-radius: 200px;
}

.form-heading {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    background-color: var(--color-primary);
    padding: 10px;
    border-radius: 5px;
    margin: 10px 5px -20px 5px;
}

.default-container {
    flex: 1;
    background-color: var(--color-background);
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding-bottom: 20px;
}

/* Header styles */
header {
    background-color: var(--color-primary);
    padding: 1rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.company-name {
    font-size: 2rem;
    background: linear-gradient(45deg, var(--color-secondary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Gaegu', cursive;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-background);
    text-decoration: none;
    font-size: 1rem;
    font-family: var(--font-noto-medium);
    transition: color 0.3s ease;
    white-space: nowrap;
}

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

/* Hero Section */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 4rem 2rem 2rem;
    background: linear-gradient(135deg, #F7EFE7 0%, #F7EFE7 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(247, 239, 231, 0.8) 0%, rgba(247, 239, 231, 0.7) 100%);
    z-index: -1;
}

.hero-box {
    background: rgba(198, 198, 213, 0.6);
    padding: 40px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    min-height: 70vh;
    width: 80%;
    max-width: 1200px;
    text-align: center;
    position: relative;
    z-index: 2;
    border: 5px solid #F0AF22;
    box-shadow: 0 0 20px rgba(240, 175, 34, 0.8), 0 0 50px rgba(5, 5, 111, 0.8);
    background: linear-gradient(135deg, #F7EFE7 0%, #F7EFE7 100%);
    animation: moveIn 3s;
}

.hero h1 {
    font-size: 64px;
    background: linear-gradient(135deg, #F7EFE7 0%, #F7EFE7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Sora', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 36px;
    color: var(--color-primary);
    padding-top: 20px;
    font-weight: 700;
    font-family: 'Noto Serif', serif;
}

.hero-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-accent);
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1 rem;
    font-family: var(--font-noto-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(2, 2, 72, 0.2);
    margin-top: auto;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 2, 72, 0.3);
    background-color: var(--color-tertiary);
}

.hero p span {
    color: var(--color-accent);
    font-weight: bold;
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: visible;
    z-index: 0;
    background-color: #020248;
}

.card {
    position: absolute;
    background: #fcfaf7;
    border-radius: 15px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: rotate(var(--rotation));
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.card.small {
    animation: floatSmall 4s ease-in-out infinite;
    opacity: 0.6;
    padding: 0.3rem;
}

.card.extended {
    opacity: 0.5;
    animation: floatExtended 8s ease-in-out infinite;
}

.card.extended.small {
    opacity: 0.3;
    animation: floatSmallExtended 7s ease-in-out infinite;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.card:hover {
    opacity: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(var(--rotation));
    }
    50% {
        transform: translateY(-20px) rotate(calc(var(--rotation) + 2deg));
    }
}

@keyframes floatSmall {
    0%, 100% {
        transform: translateY(0) rotate(var(--rotation));
    }
    50% {
        transform: translateY(-15px) rotate(calc(var(--rotation) - 2deg));
    }
}

@keyframes floatExtended {
    0%, 100% {
        transform: translateY(0) rotate(var(--rotation));
    }
    50% {
        transform: translateY(-25px) rotate(calc(var(--rotation) + 3deg));
    }
}

@keyframes floatSmallExtended {
    0%, 100% {
        transform: translateY(0) rotate(var(--rotation));
    }
    50% {
        transform: translateY(-20px) rotate(calc(var(--rotation) - 3deg));
    }
}

/* Add depth layers to cards */
.card:nth-child(3n) {
    z-index: 1;
}

.card:nth-child(3n+1) {
    z-index: 2;
}

.card:nth-child(3n+2) {
    z-index: 3;
}

/* Extended cards positioning */
.card.extended:nth-child(1) { top: 120vh; }
.card.extended:nth-child(2) { top: 140vh; }
.card.extended:nth-child(3) { top: 160vh; }
.card.extended:nth-child(4) { top: 180vh; }

/* Ensure content stays above cards */
.hero-box, .trial1-text, .trial1-text2 {
    position: relative;
    z-index: 2;
}

.trial1-text2 {
    background: #F7EFE7;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for floating cards */
@media (max-width: 768px) {
    .card {
        transform: scale(0.8) rotate(var(--rotation));
    }

    .card.small {
        transform: scale(0.6) rotate(var(--rotation));
    }

    @keyframes float {
        0%, 100% {
            transform: translateY(0) scale(0.8) rotate(var(--rotation));
        }
        50% {
            transform: translateY(-15px) scale(0.8) rotate(calc(var(--rotation) + 2deg));
        }
    }

    @keyframes floatSmall {
        0%, 100% {
            transform: translateY(0) scale(0.6) rotate(var(--rotation));
        }
        50% {
            transform: translateY(-10px) scale(0.6) rotate(calc(var(--rotation) - 2deg));
        }
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 1.5rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    .hero {
        padding: 6rem 1rem 3rem;
        background: linear-gradient(135deg, #F7EFE7 0%, #F7EFE7 100%);
    }

    .hero h1 {
        font-size: 48px;
        background: linear-gradient(45deg, #020248, #4B0082);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .card {
        transform: scale(0.8);
    }

    .hero-box {
        width: 95%;
        margin-top: 80px;
        min-height: auto;
        padding: 25px;
    }
    
    .hero-button {
        margin-top: 2rem;
        padding: 0.8rem 1.5rem;
    }

    .how-it-works {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 32px;
        background: linear-gradient(45deg, #020248, #4B0082);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-box {
        width: 98%;
        margin-top: 70px;
        padding: 20px;
    }

    .floating-cards {
        height: 130vh;
    }

    .card {
        transform: scale(0.6) rotate(var(--rotation));
    }

    /* Further reduce visible cards */
    .card:nth-child(n+6) {
        display: none;
    }

    /* Adjust remaining card positions */
    .card:nth-child(1) { top: 10%; left: 5%; }
    .card:nth-child(2) { top: 25%; right: 5%; }
    .card:nth-child(3) { top: 40%; left: 10%; }
    .card:nth-child(4) { top: 55%; right: 10%; }
    .card:nth-child(5) { top: 70%; left: 15%; }

    .hero-button {
        margin-top: 1.5rem;
        padding: 0.7rem 1.2rem;
    }
}

@media (max-height: 700px) {
    .hero-box {
        margin-top: 60px;
        padding: 20px;
        min-height: auto;
    }

    .floating-cards {
        height: 140vh;
    }
}

@media (max-height: 600px) {
    .hero-box {
        margin-top: 50px;
        padding: 15px;
    }
}

/* Main content section */
/* Main content section */
main {
    flex-grow: 1; /* This makes sure the main section takes up available space */

}

/* Hero section */


.hero-box {
    background: rgba(5, 5, 111, 0.60); /* Deep indigo for K-pop energy */
    padding: 40px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    height: 60vh;
    width: 80%;
    max-width: 1200px;
    text-align: center;
    position: relative;
    z-index: 1;

    /* Add vibrant glowing border */
    border: 5px solid #F0AF22;
    box-shadow: 0 0 20px rgba(240, 175, 34, 0.8), 0 0 50px rgba(5, 5, 111, 0.8);
    background: linear-gradient(45deg, rgba(240, 175, 34, 0.7), rgba(5, 5, 111, 0.6)); /* Glowing gradient */

    /* Animation effect */
    animation: moveIn 3s;
}

/* Add a subtle shimmer animation */
@keyframes fadeInScale {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Smooth floating and bouncing effect */
@keyframes moveIn {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0px);
        opacity: 1;
    }
}

.hero h1 {
    font-size: 64px;
    background: linear-gradient(45deg, #020248, #4B0082);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Sora', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 36px;
    color: #020248;
    padding-top: 20px;
    font-weight: 700;
    font-family: 'Merriweather', serif;
}

.hero-button {
    font-size:36px;
    background-color: #020248;
    color: #FFffff;
    padding: 20px;
    border-radius: 20px;
    font-weight: 500;
     text-decoration: none;   
    margin-top:100px;
    left: 10%; /* Centers the button horizontally */
    transform: translateX(-50%); /* Center the button by offsetting by 50% of its width */
    z-index: 2; /* Ensures the button is above the hero box */
    font-family: 'Sora', sans-serif;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-box {
        padding: 30px;
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 60px;
        min-height: 300px;
        min-width: 250px;
    }

    .hero h1 {
        font-size: 48px; /* Smaller headline */
        padding-top: 100px;;
    }

    .hero p {
        font-size: 24px; /* Smaller text */
        padding-top: 15px;
    }

    .hero-button {
        font-size: 28px; /* Smaller button text */
        margin-top: 200px;
        padding: 15px; /* Smaller button padding */
    }
}

@media (max-width: 480px) {
    .hero-box {
        padding: 20px;
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 40px;
        min-height: 250px;
    }

    .hero h1 {
        font-size: 36px; /* Even smaller headline */
    }

    .hero p {
        font-size: 20px; /* Even smaller text */
        padding-top: 10px;
    }

    .hero-button {
        font-size: 24px; /* Even smaller button text */
        margin-top: 100px;
        padding: 10px; /* Even smaller button padding */
    }
}


/* Trial 1&2 section */
/* Trial 1&2 section */




.trial1 {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    background: none;
    min-height: auto;
}

.trial1-text {
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
    color:#020248;
    font-family: 'CormorantGaramond', sans-serif;
}

.trial1-text2 {
    font-size: 1.2rem;
    color: var(--color-primary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    background: #D48245;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.trial1-text2 span {
    color: var(--color-accent);
    font-weight: bold;
}

.trial2 {
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.trial2.reveal {
    opacity: 1;
    transform: translateY(0);
}

.trial2-text {
    flex: 1;
    font-size: 1.5rem;
    color: var(--color-primary);
    line-height: 1.6;
}

.trial2-text span {
    color: var(--color-tertiary);
    font-weight: bold;
}

.trial2-image-container {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    max-width: 500px;
    margin: 0 auto;
}

.trial2-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    max-height: 500px;
    object-fit: contain;
}

.trial2-image {
    max-width: 600px;
    border-radius: 100px;
}



/* Mobile adjustments for .trial1 */


@media (max-width: 768px) {
    .trial1 {
        padding: 4rem 1.5rem;
    }

    .trial1-text {
        font-size: 2rem;
    }

    .trial1-text2 {
        font-size: 1.1rem;
    }

    .trial2 {
        flex-direction: column;
        padding: 3rem 1.5rem;
        gap: 2rem;
    }

    .trial2-text {
        font-size: 1.3rem;
        padding: 30px;
        margin-left: 40px;
        margin-right: 20px;
        margin-bottom: 50px;
        width: 80%;
    }

    .trial2-image-container {
        flex-direction: column;
        margin-top: 240px;
        align-items: center;
        background-color: #020248;
    }

    .trial2-image {
        max-width: 80%;
        margin-bottom: 10px;
    }
}



   
/* Trial 3 section */
/* Trial 3 section */

.trial3 {
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.trial3.reveal {
    opacity: 1;
    transform: translateY(0);
}

.trial3-text {
    flex: 1;
    font-size: 1.5rem;
    color: var(--color-primary);
    line-height: 1.6;
}

.trial3-text span {
    color: var(--color-tertiary);
    font-weight: bold;
}

.trial3-image-container {
    flex: 0 0 300px; /* Reduced from default size */
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.trial3-image-container:hover {
    transform: translateY(-10px);
}

.trial3-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.trial3-image {
    max-width: 600px;
    border-radius: 100px;
}

.invite-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.invite-box:hover {
    transform: translateY(-10px);
}

.invite-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--accent-color);
}

.invite-box h2 {
    font-size: 2rem;
    background: linear-gradient(45deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
}

.invite-box p {
    font-size: 1.1rem;
    color: var(--color-primary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.invite-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(2, 2, 72, 0.2);
}

.invite-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 2, 72, 0.3);
}

/* Call to Action Boxes */
#tryus-section {
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.invite-box2 {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.invite-box2:hover {
    transform: translateY(-10px);
}

.invite-box2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--accent-color);
}

.invite-box2 h2 {
    font-size: 2rem;
    background: linear-gradient(45deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
}

.invite-box2 p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.invite-box2 .feedback-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: 2rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(2, 2, 72, 0.1);
}

.invite-button2 {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    font-size: 1.3rem;
    background: var(--color-accent);
    color: var(--color-primary);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.invite-button2:hover {
    background: var(--color-tertiary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer styles */
footer {
    background-color: var(--color-primary);
    color: var(--color-background);
    padding: 3rem 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-name {
    font-size: 1.5rem;
    color: var(--color-accent);
    font-family: 'Gaegu', cursive;
    font-weight: 700;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-column h4 {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: var(--font-noto-bold);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--color-background);
    text-decoration: none;
    font-family: var(--font-noto-medium);
    transition: color 0.3s ease;
}

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

.footer-content {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Additional Responsive Styles */
@media (max-width: 1024px) {
    .trial2, .trial3 {
        padding: 3rem 1.5rem;
        gap: 3rem;
    }

    .trial2-text, .trial3-text {
        font-size: 1.3rem;
    }

    #tryus-section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .trial1 {
        padding: 4rem 1.5rem;
    }

    .trial1-text {
        font-size: 2rem;
    }

    .trial1-text2 {
        font-size: 1.1rem;
    }

    .trial2, .trial3 {
        flex-direction: column;
        padding: 3rem 1.5rem;
        gap: 2rem;
    }

    #tryus-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .trial1-text {
        font-size: 1.8rem;
    }

    .trial1-text2 {
        font-size: 1rem;
    }

    .trial2-text, .trial3-text {
        font-size: 1.1rem;
    }

    .invite-box, .invite-box2 {
        padding: 2rem;
    }

    .invite-box h2, .invite-box2 h2 {
        font-size: 1.5rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .trial3 {
        gap: 3rem;
    }
    
    .trial3-image-container {
        flex: 0 0 250px; /* Even smaller on medium screens */
    }
}

@media (max-width: 768px) {
    .trial3 {
        flex-direction: column;
        padding: 3rem 1.5rem;
        gap: 2rem;
    }
    
    .trial3-image-container {
        flex: 0 0 200px; /* Smaller on mobile */
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .trial3-image-container {
        flex: 0 0 180px; /* Smallest on mobile */
    }
}

/* Team Section */
.team-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(2, 2, 72, 0.02), rgba(240, 175, 34, 0.02));
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.team-section.reveal {
    opacity: 1;
    transform: translateY(0);
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.team-header {
    text-align: center;
    margin-bottom: 4rem;
}

.team-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-header p {
    font-size: 1.2rem;
    color: var(--primary-color);
    max-width: 600px;
    margin: 0 auto;
}

.team-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 200px;
}

.team-member-image-container {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 4px solid var(--color-accent);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member-image-container:hover {
    transform: scale(1.05);
}

.team-member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.2); /* Zoom in on the image */
    transition: transform 0.3s ease;
}

.team-member-image-container:hover .team-member-image {
    transform: scale(1.3); /* Zoom in more on hover */
}

.team-member-info {
    text-align: center;
}

.team-member-name {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-member-role {
    font-size: 1rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.team-member-bio {
    font-size: 0.9rem;
    color: var(--primary-color);
    line-height: 1.4;
}

@media (max-width: 1200px) {
    .team-grid {
        gap: 2rem;
    }
    
    .team-member {
        max-width: 180px;
    }
    
    .team-member-image-container {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 992px) {
    .team-grid {
        gap: 1.5rem;
    }
    
    .team-member {
        max-width: 160px;
    }
    
    .team-member-image-container {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 768px) {
    .team-grid {
        gap: 2rem;
    }
    
    .team-member {
        max-width: 140px;
    }
    
    .team-member-image-container {
        width: 120px;
        height: 120px;
    }
    
    .team-member-name {
        font-size: 1.1rem;
    }
    
    .team-member-role {
        font-size: 0.9rem;
    }
    
    .team-member-bio {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 4rem 1rem;
    }
    
    .team-grid {
        gap: 1.5rem;
    }
    
    .team-member {
        max-width: 120px;
    }
    
    .team-member-image-container {
        width: 100px;
        height: 100px;
    }
    
    .team-member-name {
        font-size: 1rem;
    }
    
    .team-member-role {
        font-size: 0.8rem;
    }
    
    .team-member-bio {
        font-size: 0.7rem;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--color-background), var(--color-mistyrose));
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.how-it-works.reveal {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-family: var(--font-cormorant-bold);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--color-primary);
    font-family: var(--font-noto-medium);
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 2rem 0;
    position: relative;
}

/* Connecting lines */
.steps-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        transparent,
        var(--color-accent) 10%,
        var(--color-accent) 90%,
        transparent
    );
    z-index: 1;
}

.step-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    opacity: 0;
    animation: fadeInSlide 0.8s ease forwards;
    position: relative;
}

.step-row::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(50% - 50px);
    width: 100px;
    height: 2px;
    background: var(--color-accent);
    z-index: 1;
}

.step-row.reverse::after {
    left: auto;
    right: calc(50% - 50px);
}

.step-image-container {
    flex: 0 0 250px;
    position: relative;
    margin: 0 2rem;
    max-width: 300px;
    display: flex;
    flex-direction: column;
}

.phone-frame {
    position: relative;
    width: 100%;
    padding-top: 177.78%; /* 16:9 aspect ratio */
    background: var(--color-primary);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 6px solid var(--color-primary);
    transition: transform 0.3s ease;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 15px;
    background: var(--color-primary);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    z-index: 2;
}

.phone-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 24px;
    z-index: 1;
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 45px;
    height: 45px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-noto-bold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.step-content {
    flex: 1;
    padding: 2rem;
    max-width: 500px; 
}

.step-content h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-cormorant-bold);
}

.step-content p {
    font-size: 1.2rem;
    color: var(--color-primary);
    line-height: 1.8;
    font-family: var(--font-cormorant-regular);
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    .step-image-container {
        flex: 0 0 200px;
        margin: 0 1.5rem;
    }

    .steps-container::before {
        left: 30%;
    }

    .step-row::after {
        width: 60px;
        left: calc(30% - 30px);
    }

    .step-row.reverse::after {
        left: auto;
        right: calc(30% - 30px);
    }
}

@media (max-width: 768px) {
    .steps-container::before {
        left: 50%;
    }

    .step-row, .step-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .step-row::after {
        display: none;
    }

    .step-image-container {
        flex: 0 0 220px;
        margin: 0 auto;
    }

    .step-content {
        padding: 1rem;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .step-image-container {
        flex: 0 0 180px;
    }

    .steps-container::before {
        width: 1px;
    }
}

/* Call to Action Section */
.cta-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.cta-section.reveal {
    opacity: 1;
    transform: translateY(0);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 2, 72, 0.85),
        rgba(240, 175, 34, 0.75)
    );
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    transform: translateZ(0);
    will-change: transform;
}

/* Download Container Styles */
.download-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

.download-box {
    flex: 1;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.98);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.download-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--color-accent);
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.download-box h3 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-family: var(--font-cormorant-bold);
}

.download-box p {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    line-height: 1.5;
    font-family: var(--font-noto-medium);
}

.download-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-bottom: 1rem;
}

.download-button.apple {
    background: var(--color-primary);
    color: white;
}

.download-button.apple:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.download-button.android {
    background: var(--color-accent);
    color: var(--color-primary);
}

.download-button.android:hover {
    background: var(--color-tertiary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.qr-note {
    font-size: 0.9rem;
    color: var(--color-primary);
    opacity: 0.8;
    font-style: italic;
    margin: 0;
}

/* Legacy styles for backward compatibility */
.cta-section .invite-box2 {
    background: rgba(255, 255, 255, 0.98);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-section .invite-box2:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.cta-section .invite-box2 h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section .invite-box2 p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.cta-section .invite-box2 .feedback-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: 2rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(2, 2, 72, 0.1);
}

.cta-section .invite-button2 {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    font-size: 1.3rem;
    background: var(--color-accent);
    color: var(--color-primary);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-section .invite-button2:hover {
    background: var(--color-tertiary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .cta-section {
        min-height: 500px;
        padding: 3rem 1.5rem;
    }

    .download-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .download-box {
        max-width: 100%;
        padding: 2rem;
    }

    .download-box h3 {
        font-size: 1.6rem;
    }

    .download-box p {
        font-size: 1rem;
    }

    .download-button {
        padding: 0.9rem 1.8rem;
        font-size: 1.1rem;
    }

    .cta-section .invite-box2 {
        padding: 2rem;
    }

    .cta-section .invite-box2 h2 {
        font-size: 2rem;
    }

    .cta-section .invite-box2 p {
        font-size: 1.1rem;
    }

    .cta-section .invite-button2 {
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .cta-section {
        min-height: 400px;
        padding: 2rem 1rem;
    }

    .download-box {
        padding: 1.5rem;
    }

    .download-box h3 {
        font-size: 1.4rem;
    }

    .download-box p {
        font-size: 0.95rem;
    }

    .download-button {
        padding: 0.8rem 1.6rem;
        font-size: 1rem;
    }

    .cta-section .invite-box2 {
        padding: 1.5rem;
    }

    .cta-section .invite-box2 h2 {
        font-size: 1.8rem;
    }

    .cta-section .invite-box2 p {
        font-size: 1rem;
    }

    .cta-section .invite-button2 {
        padding: 0.8rem 1.8rem;
        font-size: 1.1rem;
    }
}

/* Scroll-triggered animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-animate {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.section-animate.delay-1 {
    animation-delay: 0.2s;
}

.section-animate.delay-2 {
    animation-delay: 0.4s;
}

.section-animate.delay-3 {
    animation-delay: 0.6s;
}

/* Animation Classes */
.hero, .trial1, .trial2, .trial3, .team-section, .pricing-section, .cta-section, .how-it-works {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger the animations for different sections */
.trial1.reveal { transition-delay: 0.1s; }
.trial2.reveal { transition-delay: 0.2s; }
.trial3.reveal { transition-delay: 0.3s; }
.team-section.reveal { transition-delay: 0.1s; }
.pricing-section.reveal { transition-delay: 0.2s; }
.cta-section.reveal { transition-delay: 0.3s; }
.how-it-works.reveal { transition-delay: 0.2s; }

/* Parallax effect for CTA section */
.cta-section {
    background-attachment: fixed;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.cta-content {
    transform: translateZ(0);
    will-change: transform;
}

/* Smooth transition between sections */
section {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 1200px) {
    .hero-box {
        width: 90%;
        padding: 30px;
    }
}

@media (max-width: 390px) {
    .hero-box {
        width: 98%;
        margin-top: 60px;
        padding: 15px;
        min-height: auto;
        margin-bottom: 40px;
    }

    .hero {
        padding-bottom: 4rem;
    }

    .trial1 {
        padding-top: 8rem;
        margin-top: 2rem;
    }

    .trial1-text {
        font-size: 28px;
        line-height: 1.3;
        padding: 0 15px;
    }

    .trial1-text2 {
        margin-top: 2rem;
        padding: 1.5rem;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .hero-button {
        font-size: 16px;
        padding: 0.6rem 1rem;
        margin-top: 1rem;
    }

    .floating-cards {
        height: 110vh;
    }

    .card {
        transform: scale(0.5) rotate(var(--rotation));
    }

    /* Adjust card positions for very narrow screens */
    .card:nth-child(1) { top: 5%; left: 2%; }
    .card:nth-child(2) { top: 20%; right: 2%; }
    .card:nth-child(3) { top: 35%; left: 5%; }
    .card:nth-child(4) { top: 50%; right: 5%; }
    .card:nth-child(5) { top: 65%; left: 8%; }

    /* Hide more cards on very narrow screens */
    .card:nth-child(n+5) {
        display: none;
    }
}

/* Additional height adjustment for taller narrow screens */
@media (max-width: 390px) and (min-height: 800px) {
    .hero-box {
        margin-top: 80px;
        margin-bottom: 60px;
    }

    .trial1 {
        padding-top: 10rem;
        margin-top: 3rem;
    }

    .floating-cards {
        height: 120vh;
    }
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1000;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-background);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--color-primary);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 20px 0;
        font-size: 1.2rem;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 390px) {
    .navbar {
        padding: 0 1rem;
    }

    .hamburger {
        right: 1rem;
        scale: 0.9;
    }

    .nav-links a {
        font-size: 1.1rem;
        margin: 15px 0;
    }
}

/* About Section */
.trial1 {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    background: none;
    min-height: auto;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-title {
    font-size: 3rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 4rem;
    font-family: var(--font-cormorant-bold);
}

.about-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.about-point {
    background: var(--color-background);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    border: 2px solid var(--color-primary);
}

.about-point:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.about-point.highlight {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    grid-column: span 2;
    border: none;
}

.about-point.highlight p {
    color: white;
}

.emoji {
    font-size: 2.5rem;
    line-height: 1;
}

.about-point p {
    font-size: 1.2rem;
    color: var(--color-primary);
    line-height: 1.6;
    font-family: var(--font-noto-medium);
    margin: 0;
}

@media (max-width: 992px) {
    .about-points {
        grid-template-columns: 1fr;
    }
    
    .about-point.highlight {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .about-title {
        font-size: 2.5rem;
    }
    
    .about-point {
        padding: 1.5rem;
    }
    
    .emoji {
        font-size: 2rem;
    }
    
    .about-point p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .trial1 {
        padding: 4rem 1rem;
    }
    
    .about-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .about-point {
        padding: 1.2rem;
    }
    
    .emoji {
        font-size: 1.8rem;
    }
    
    .about-point p {
        font-size: 1rem;
    }
}

/* What is alaKarte Section */
.what-is-section {
    padding: 6rem 2rem;
    background: var(--color-background);
    position: relative;
    z-index: 1;
}

.what-is-container {
    max-width: 1200px;
    margin: 0 auto;
}

.what-is-title {
    font-size: 3rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 3rem;
    font-family: var(--font-cormorant-bold);
}

.what-is-title span {
    color: var(--color-accent);
}

.what-is-wrapper {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.what-is-content {
    flex: 1;
    background: var(--color-background);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--color-primary);
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.what-is-text {
    max-width: 800px;
}

.what-is-image-container {
    flex: 0 0 400px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 80%;
    max-height: 480px; /* 80% of 600px */
}

.what-is-image-container:hover {
    transform: translateY(-5px);
}

.what-is-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.intro-text {
    font-size: 1.2rem;
    color: var(--color-primary);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-family: var(--font-noto-medium);
    text-align: center;
}

.intro-text span {
    color: var(--color-accent);
    font-weight: bold;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.feature-list li {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-family: var(--font-noto-medium);
    line-height: 1.5;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.feature-list li::before {
    font-size: 1.4rem;
    line-height: 1;
}

.mission-statement {
    font-size: 1.2rem;
    color: var(--color-primary);
    line-height: 1.6;
    text-align: center;
    font-family: var(--font-cormorant-bold);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-primary);
}

.mission-statement span {
    color: var(--color-accent);
    font-weight: bold;
}

@media (max-width: 992px) {
    .intro-text, .mission-statement {
        font-size: 1.1rem;
    }
    
    .feature-list li {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .what-is-section {
        padding: 2rem 1rem;
    }
    
    .what-is-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .what-is-content {
        padding: 0 1rem;
    }

    .what-is-wrapper {
        flex-direction: column;
    }

    .what-is-image-container {
        display: none; /* Hide the image on mobile */
    }
    
    .intro-text, .mission-statement {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .feature-list li {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        padding-left: 2rem;
    }

    /* How it works section mobile fixes - keeping the phone images */
    .steps-container {
        padding: 2rem 1rem;
    }

    .step-row, .step-row.reverse {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .step-image-container {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .step-content {
        width: 100%;
        text-align: center;
        padding: 0 1rem;
    }

    .step-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .step-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .steps-container::before {
        display: none;
    }

    .step-row::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .what-is-section {
        padding: 1.5rem 0.5rem;
    }
    
    .what-is-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .what-is-content {
        padding: 0 0.5rem;
    }
    
    .intro-text, .mission-statement {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .feature-list li {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
        padding-left: 1.75rem;
    }

    /* How it works section mobile fixes */
    .steps-container {
        padding: 1.5rem 0.5rem;
    }

    .step-image-container {
        max-width: 250px;
    }

    .step-content h3 {
        font-size: 1.25rem;
    }

    .step-content p {
        font-size: 0.95rem;
    }
}

.step-row .phone-screen {
    animation: scrollImage 20s linear infinite;
}

@keyframes scrollImage {
    0% {
        object-position: top;
    }
    100% {
        object-position: bottom;
    }
}


.step-row .phone-frame:hover .phone-screen {
    animation-play-state: paused;
}


.step-row .phone-frame {
    padding-top: 200%;
}


.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.signup-form .form-group {
    margin-bottom: 0;
}

.signup-form input,
.signup-form select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    background-color: white;
}

.signup-form input:focus,
.signup-form select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(251, 176, 59, 0.2);
}

.signup-form .invite-button2 {
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .signup-form {
        padding: 0 1rem;
    }
}
