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

:root {
    --navy: #212D3A;
    --white: #FFFFFF;
    --teal: #00C6FF;
    --blue: #0072FF;
    --gradient: linear-gradient(135deg, #00C6FF, #0072FF);
    --text-dark: #1A1A1A;
    --text-muted: #666;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
header {
    padding: 20px 0;
    background: var(--navy);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .header-cta {
        display: inline-block;
        padding: 10px 25px;
        background: var(--gradient);
        color: var(--white);
        border-radius: 50px;
        font-weight: 600;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
        transition: var(--transition);
    }

    .header-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 198, 255, 0.4);
    }
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: var(--gradient);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(100px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    /* Increased from 500px to allow buttons to sit side-by-side */
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(0, 114, 255, 0.3);
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    min-width: 250px;
    text-align: center;
    width: 100%;
    /* Default to full width on mobile for consistency */
}

@media (min-width: 768px) {
    .btn {
        width: auto;
        /* Revert to auto width on desktop */
    }
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 114, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
    /* Removed margin-left as we use flex gap */
}

.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-actions {
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
        /* Allow wrapping to prevent overlap */
    }

    .hero-actions .btn {
        flex: 1;
        max-width: 350px;
    }
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

/* Benefits */
.benefits {
    padding: 100px 0;
    background: #F8FAFC;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--navy);
    padding-bottom: 15px;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: var(--teal);
}

.benefit-icon-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 198, 255, 0.1);
    border-radius: 50%;
    color: var(--blue);
}

.benefit-icon-container svg {
    width: 50px;
    height: 50px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--navy);
}

/* Feature/Product Showcase */
.showcase {
    padding: 100px 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.showcase-content h2 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: var(--navy);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 60px;
}

.footer-info h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.footer-info h3 span {
    color: var(--blue);
}

.footer-info p {
    opacity: 0.7;
    margin-bottom: 30px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--blue);
    transform: translateY(-3px);
}

.social-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-links h4 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--white);
}

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

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.6;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--teal);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Page Headers (Legal) */
.page-header {
    background: var(--navy);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
}

.legal-content {
    background: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.legal-content h2,
.legal-content h3 {
    color: var(--navy);
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p,
.legal-content ul {
    margin-bottom: 20px;
    color: #4a5568;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .hero {
        text-align: center;
        padding: 60px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .hero-image img {
        transform: none;
    }

    .hero-image:hover img {
        transform: none;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}