/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* Professional scroll animations */
.animate-section {
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.5s cubic-bezier(0.2, 0, 0.2, 1);
    transition-delay: var(--animation-delay, 0ms);
}

.animate-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth hero element animations */
.hero-element {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-element.hero-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Specific hero content animations - ensure they start hidden */
.hero-heading {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-content {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-heading.animate,
.hero-content.animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .animate-section {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Base styles with improved typography */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #FFFFFF;
    color: #1E1E1E;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Form message styles */
.form-message {
    margin: 16px 0;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background-color: #f0f9ff;
    color: #0369a1;
    border: 1px solid #7dd3fc;
}

.form-message.error {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

/* Professional notification system */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 14px 20px;
    border-radius: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 300px;
    max-width: 380px;
    line-height: 1.3;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.notification.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Mobile responsive notifications */
@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
        max-width: none;
    }

    .notification.show {
        transform: translateY(0);
    }
}

/* Hero section with responsive design */
.hero {
    background: linear-gradient(135deg, #3C2FF1, #5A4BF2);
    color: white;
    text-align: center;
    padding: clamp(100px, 14vh, 140px) 5% clamp(80px, 12vh, 120px);
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 700;
    margin: 0 0 clamp(24px, 3vh, 32px) 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-tagline {
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    margin: 0 0 clamp(24px, 3vh, 28px) 0;
    font-weight: 600;
    opacity: 0.95;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    margin: 0 0 clamp(40px, 5vh, 48px) 0;
    max-width: 600px;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.6;
}

/* CTA button with enhanced styling and improved contrast */
.cta-button {
    margin-top: 8px;
    display: inline-block;
    background-color: #2D1FE0;
    color: white;
    padding: clamp(14px, 3vw, 16px) clamp(28px, 6vw, 32px);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(45, 31, 224, 0.4);
    border: 2px solid transparent;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #1E14C7;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 31, 224, 0.6);
    filter: brightness(1.1);
}

.cta-button:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-button-large {
    padding: 16px 32px;
    font-size: 1.125rem;
    margin-top: 20px;
    background-color: #2D1FE0;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(45, 31, 224, 0.4);
}

.cta-button-large:hover {
    background-color: #1E14C7;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 31, 224, 0.6);
    filter: brightness(1.1);
}

/* Container for content sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* About section */
.about {
    padding: clamp(80px, 12vh, 100px) 0;
    background-color: #FFFFFF;
}

.about h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 600;
    margin: 0 0 clamp(32px, 4vh, 40px) 0;
    color: #1E1E1E;
    text-align: center;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.about-description {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    line-height: 1.75;
    color: #1E1E1E;
    margin: 0 0 clamp(20px, 3vh, 24px) 0;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-description:last-child {
    margin-bottom: 0;
}

/* Audience section */
.audience {
    padding: clamp(80px, 12vh, 100px) 0;
    background-color: #F5F5F5;
}

.audience h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 600;
    margin: 0 0 clamp(32px, 4vh, 40px) 0;
    color: #1E1E1E;
    text-align: center;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.audience-intro {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    line-height: 1.75;
    color: #1E1E1E;
    margin: 0 0 clamp(32px, 5vh, 40px) 0;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.audience-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    gap: clamp(16px, 3vw, 20px);
    max-width: min(90vw, 900px);
    grid-template-columns: 1fr;
}

.audience-list li {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    padding: clamp(20px, 4vw, 24px) clamp(24px, 4vw, 28px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(30, 30, 30, 0.06);
    border: 1px solid rgba(245, 245, 245, 0.8);
    transition: all 0.3s ease;
    font-weight: 500;
    line-height: 1.5;
    color: #1E1E1E;
    display: flex;
    align-items: center;
    gap: clamp(12px, 2.5vw, 16px);
}

.audience-list li .icon {
    color: #3C2FF1;
    width: clamp(20px, 4vw, 24px);
    height: clamp(20px, 4vw, 24px);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.audience-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 30, 30, 0.1);
    border-color: rgba(60, 47, 241, 0.3);
}

.audience-list li:hover .icon {
    color: #2E26D1;
    transform: scale(1.1);
}

/* Features section with improved spacing and typography */
.features {
    padding: clamp(80px, 12vh, 100px) 0;
    background-color: #FFFFFF;
}

.features h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 600;
    margin: 0 0 clamp(20px, 3vh, 24px) 0;
    color: #1E1E1E;
    text-align: center;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.features-intro {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    text-align: center;
    margin: 0 auto clamp(32px, 4vh, 40px) auto;
    max-width: 600px;
    color: #1E1E1E;
    opacity: 0.8;
    line-height: 1.6;
    font-weight: 400;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    gap: clamp(16px, 3vw, 20px);
    max-width: min(90vw, 900px);
    grid-template-columns: 1fr;
    justify-items: center;
    place-items: center;
}

.features-list li {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    padding: clamp(20px, 4vw, 24px) clamp(24px, 4vw, 28px);
    background: #F5F5F5;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(30, 30, 30, 0.04);
    border: 1px solid rgba(245, 245, 245, 0.6);
    transition: all 0.3s ease;
    font-weight: 500;
    line-height: 1.4;
    color: #1E1E1E;
    text-align: left;
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(12px, 2.5vw, 16px);
    min-height: clamp(70px, 12vw, 80px);
}

.features-list li .icon {
    color: #3C2FF1;
    width: clamp(24px, 4.5vw, 28px);
    height: clamp(24px, 4.5vw, 28px);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.features-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30, 30, 30, 0.08);
    border-color: rgba(60, 47, 241, 0.3);
    background: white;
}

.features-list li:hover .icon {
    color: #2E26D1;
    transform: scale(1.1);
}

/* CTA section */
.cta-section {
    padding: clamp(100px, 15vh, 120px) 0;
    background: linear-gradient(135deg, #3C2FF1, #5A4BF2);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 600;
    margin: 0 0 clamp(32px, 4vh, 40px) 0;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.cta-description {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    line-height: 1.6;
    margin: 0 0 clamp(24px, 4vh, 32px) 0;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.email-input {
    width: 100%;
    padding: clamp(14px, 3vw, 16px) clamp(18px, 4vw, 20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: clamp(0.95rem, 2.2vw, 1rem);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.email-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

@media (min-width: 48em) {
    .waitlist-form {
        flex-direction: row;
        max-width: 500px;
        gap: 12px;
    }

    .email-input {
        flex: 1;
        min-width: 0;
        /* Prevent flex item from overflowing */
    }

    .cta-button-large {
        flex-shrink: 0;
        margin-top: 0;
        width: auto;
        min-width: 160px;
    }
}

/* Footer with clean professional styling */
footer {
    text-align: center;
    padding: clamp(40px, 8vh, 48px) 5%;
    background-color: #1E1E1E;
    font-size: clamp(0.875rem, 2vw, 0.95rem);
    color: #FFFFFF;
    border-top: 1px solid rgba(245, 245, 245, 0.1);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.company-name {
    font-weight: 600;
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    margin: 0 0 clamp(12px, 2.5vh, 16px) 0;
    color: #FFFFFF;
}

.footer-links {
    margin: 0 0 clamp(12px, 2.5vh, 16px) 0;
    font-weight: 400;
    line-height: 1.6;
}

.footer-links a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.8;
    font-weight: 400;
}

.footer-links a:hover {
    color: #3C2FF1;
    opacity: 1;
}

.copyright {
    margin: 0 0 clamp(12px, 2.5vh, 16px) 0;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.7;
    font-size: clamp(0.825rem, 1.8vw, 0.875rem);
}

.contact {
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
    font-size: clamp(0.875rem, 2vw, 0.95rem);
    opacity: 0.8;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.15), 0 1px 2px rgba(255, 255, 255, 0.1);
}

.contact a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.15), 0 1px 2px rgba(255, 255, 255, 0.1);
}

.contact a:hover {
    color: #3C2FF1;
    text-decoration: underline;
    text-shadow: 0 0 12px rgba(60, 47, 241, 0.3), 0 1px 3px rgba(255, 255, 255, 0.15);
}

/* Responsive design improvements - Fluid approach */

/* Ultra-small mobile devices (320px and below) */
@media (max-width: 20em) {
    .hero {
        padding: clamp(50px, 8vh, 70px) 3% clamp(40px, 6vh, 60px);
        min-height: 50vh;
    }

    .hero h1 {
        font-size: clamp(2rem, 4.5vw, 2.5rem);
    }

    .hero-tagline {
        font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    }

    .hero-subtitle {
        font-size: clamp(1rem, 2.2vw, 1.125rem);
    }

    .container {
        padding: 0 3%;
    }

    .cta-button,
    .cta-button-large {
        font-size: clamp(0.9rem, 2.2vw, 1rem);
        padding: clamp(12px, 2.8vw, 14px) clamp(20px, 5vw, 24px);
    }

    .audience-list li .icon,
    .features-list li .icon {
        width: clamp(16px, 3.5vw, 20px);
        height: clamp(16px, 3.5vw, 20px);
    }

    .audience-list li,
    .features-list li {
        gap: clamp(8px, 2vw, 12px);
        padding: clamp(16px, 3.5vw, 20px) clamp(20px, 3.5vw, 24px);
    }
}

/* Small mobile devices (up to 640px) */
@media (max-width: 39.999em) {
    .hero {
        padding: clamp(70px, 12vh, 90px) 4% clamp(60px, 10vh, 80px);
    }

    .waitlist-form {
        gap: 20px;
        max-width: 100%;
        padding: 0 10px;
    }

    .email-input {
        min-height: 48px;
        /* Better touch target */
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    .cta-button,
    .cta-button-large {
        min-height: 48px;
        /* Better touch target */
        width: 100%;
        text-align: center;
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    .features-list {
        gap: clamp(16px, 3vw, 20px);
    }

    .audience-list {
        gap: clamp(16px, 3vw, 20px);
    }

    .footer-content {
        padding: 0 2%;
    }
}

/* Landscape mobile optimization */
@media (max-width: 56em) and (orientation: landscape) and (max-height: 30em) {
    .hero {
        padding: clamp(40px, 6vh, 60px) 5% clamp(30px, 5vh, 50px);
        min-height: 90vh;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 4vw, 3rem);
    }

    .hero-tagline {
        font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    }

    .hero-subtitle {
        font-size: clamp(1.125rem, 2.2vw, 1.25rem);
        margin-bottom: clamp(30px, 4vh, 40px);
    }
}

@media (min-width: 40em) {

    /* 640px */
    .container {
        padding: 0 6%;
    }

    .audience-list {
        gap: clamp(20px, 4vw, 24px);
    }

    .features-list {
        gap: clamp(18px, 3.5vw, 22px);
        max-width: min(90vw, 900px);
    }

    .features-list li {
        max-width: 500px;
        min-height: clamp(75px, 13vw, 85px);
    }

    .features-list li i,
    .audience-list li i {
        font-size: clamp(1.25rem, 2.8vw, 1.35rem);
        min-width: clamp(22px, 4.2vw, 26px);
    }

    .cta-button-large {
        padding: clamp(16px, 3vw, 18px) clamp(32px, 6vw, 36px);
        font-size: clamp(1.125rem, 2.5vw, 1.2rem);
    }
}

@media (min-width: 48em) {

    /* 768px */
    .container {
        padding: 0 7%;
    }

    .audience-list {
        grid-template-columns: repeat(auto-fit, minmax(min(280px, 45vw), 1fr));
        gap: clamp(24px, 4vw, 28px);
        max-width: min(90vw, 700px);
    }

    .features-list {
        grid-template-columns: repeat(auto-fit, minmax(min(320px, 45vw), 1fr));
        gap: clamp(20px, 3.5vw, 24px);
        max-width: min(90vw, 700px);
        place-items: center;
        justify-items: center;
    }

    .features-list li {
        max-width: 500px;
        min-height: clamp(80px, 14vw, 95px);
    }

    .features-list li i,
    .audience-list li i {
        font-size: clamp(1.3rem, 3vw, 1.4rem);
        min-width: clamp(24px, 4.5vw, 28px);
    }

    .cta-button-large {
        padding: clamp(18px, 3.5vw, 20px) clamp(36px, 7vw, 38px);
        font-size: clamp(1.2rem, 2.8vw, 1.25rem);
    }
}

@media (min-width: 56.25em) {

    /* 900px */
    .features-list {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(24px, 4vw, 28px);
        max-width: min(85vw, 800px);
    }

    .features-list li {
        max-width: min(42vw, 450px);
        min-height: clamp(85px, 15vw, 100px);
    }
}

@media (min-width: 64em) {

    /* 1024px */
    .container {
        padding: 0 8%;
    }

    .audience-list {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(28px, 4vw, 32px);
        max-width: min(80vw, 900px);
    }

    .features-list {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(28px, 4vw, 32px);
        max-width: min(80vw, 900px);
    }

    .features-list li {
        max-width: min(40vw, 500px);
        min-height: clamp(90px, 16vw, 105px);
    }
}

@media (min-width: 80em) {

    /* 1280px */
    .container {
        padding: 0 6%;
        max-width: 1200px;
    }

    .hero {
        padding: clamp(120px, 15vh, 140px) 5% clamp(100px, 12vh, 120px);
    }

    .audience-list {
        max-width: min(75vw, 1000px);
        gap: clamp(32px, 3vw, 36px);
    }

    .features-list {
        max-width: min(75vw, 1000px);
        gap: clamp(32px, 3vw, 36px);
    }

    .features-list li {
        max-width: min(35vw, 500px);
        min-height: clamp(95px, 12vw, 110px);
    }

    .features-list li i,
    .audience-list li i {
        font-size: clamp(1.4rem, 3.2vw, 1.6rem);
        min-width: clamp(26px, 5vw, 32px);
    }

    .waitlist-form {
        max-width: 600px;
    }
}

/* Extra large screens (1440px+) */
@media (min-width: 90em) {
    .container {
        padding: 0 5%;
        max-width: 1400px;
    }

    .hero {
        padding: clamp(140px, 16vh, 160px) 5% clamp(120px, 14vh, 140px);
    }

    .hero h1 {
        font-size: clamp(3.5rem, 4vw, 4.5rem);
    }

    .hero-tagline {
        font-size: clamp(1.5rem, 2vw, 1.75rem);
    }

    .hero-subtitle {
        font-size: clamp(1.25rem, 1.5vw, 1.375rem);
    }
}

/* Ultra-wide screens (1920px+) */
@media (min-width: 120em) {
    .container {
        max-width: 1600px;
        padding: 0 4%;
    }

    .hero {
        padding: clamp(160px, 18vh, 180px) 5% clamp(140px, 16vh, 160px);
    }

    .features-list,
    .audience-list {
        max-width: 1200px;
    }
}