/* Hannai Home Landing Page Styles */

:root {
    /* Hannai Brand Colors */
    --color-navy: #0B3954;
    --color-light-blue: #BFD7EA;
    --color-coral: #FF6663;
    --color-lime: #E0FF4F;
    --color-white: #FEFFFE;

    /* Legacy aliases for compatibility */
    --color-teal-dark: #0B3954;
    --color-teal-medium: #0B3954;
    --color-lime-green: #E0FF4F;
    --color-light-gray: #BFD7EA;

    /* Text colors */
    --color-text-dark: #0B3954;
    --color-text-light: #6B7280;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky navbar */
}

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

/* Navbar */
.navbar {
    background: var(--color-teal-dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

.btn-waitlist {
    background: var(--color-lime);
    color: var(--color-text-dark);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-waitlist:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 245, 52, 0.4);
}

.language-selector {
    display: flex;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem;
    border-radius: 6px;
}

.lang-btn {
    background: transparent;
    color: var(--color-white);
    border: none;
    padding: 0.35rem 0.7rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.6rem;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: var(--color-white);
    color: var(--color-teal-dark);
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15);
}

.btn-signin {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-signin:hover {
    background: var(--color-white);
    color: var(--color-teal-dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-teal-dark) 0%, var(--color-teal-medium) 100%);
    color: var(--color-white);
    padding: 6rem 2rem 4rem;
    text-align: center;
    position: relative;
    z-index: 0;
}

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

.hero-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.hero-badge > span:first-child {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-lime);
}

.hero-badge-source {
    font-size: 0.7rem;
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.hero-badge-source:hover {
    opacity: 1;
    text-decoration: underline;
}

.badge-icon {
    font-size: 1.1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
}

.ai-icon {
    font-size: 1.3rem;
}

.ai-text {
    color: var(--color-lime);
    font-weight: 700;
    font-size: 1.3rem;
}

.hero-description {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description strong {
    font-weight: 600;
}

.hero-tagline {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 3rem;
    font-style: italic;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-security {
    font-size: 0.8rem;
    opacity: 0.75;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--color-white);
    color: var(--color-teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-lime);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.scroll-indicator:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%) translateY(5px);
}

.scroll-indicator span {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* Pathways Section */
.pathways {
    padding: 6rem 2rem;
    background: var(--color-white);
    position: relative;
    z-index: 1;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-teal-dark);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 4rem;
    line-height: 1.6;
}

.pathways-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.pathway-card {
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pathway-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.pathway-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pathway-teal {
    background: var(--color-teal-dark);
    color: var(--color-white);
}

.pathway-lime {
    background: var(--color-lime-green);
    color: var(--color-text-dark);
}

.pathway-coral {
    background: var(--color-coral);
    color: var(--color-white);
}

.pathway-light {
    background: var(--color-light-gray);
    color: var(--color-text-dark);
    border: 2px solid #D1D5DB;
}

.pathway-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.pathway-icon img {
    width: 88px;
    height: 88px;
    display: block;
    margin: 0 auto;
}

.pathway-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.pathway-description {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.pathway-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pathway-features li {
    padding: 0.6rem 0;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.95;
}

.pathway-metric {
    background: rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.pathway-lime .pathway-metric,
.pathway-light .pathway-metric {
    background: rgba(0, 0, 0, 0.08);
}

.pathway-cta {
    display: block;
    margin-top: auto;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pathway-cta:hover {
    background: rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

/* Impact Section */
.impact {
    background: linear-gradient(135deg, var(--color-teal-dark) 0%, var(--color-teal-medium) 100%);
    color: var(--color-white);
    padding: 6rem 2rem;
}

.section-title-white {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.section-subtitle-white {
    font-size: 1.1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4rem;
    line-height: 1.6;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.impact-stat {
    text-align: center;
}

.impact-value {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--color-lime);
}

.impact-label {
    font-size: 0.75rem;
    opacity: 0.85;
    font-weight: 500;
    line-height: 1.3;
}

.impact-source {
    font-size: 0.65rem;
    margin-top: 0.2rem;
    opacity: 0.6;
}

/* CTA Section */
.cta {
    background: var(--color-white);
    padding: 6rem 2rem;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-teal-dark);
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--color-lime);
    color: var(--color-text-dark);
    padding: 1.2rem 3rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 245, 52, 0.3);
}

.btn-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(212, 245, 52, 0.4);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.cta-features span {
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--color-teal-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 2rem 2rem 1.5rem;
    position: relative;
    line-height: 1.4;
}

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

.footer-copyright {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.footer-text {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-text-small {
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.7;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.footer-legal-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section h4 {
    color: var(--color-lime);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.legal-section p {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-lime);
    border-bottom-color: var(--color-lime);
}

.footer-company {
    text-align: center;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.footer-contact {
    text-align: center;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.footer-email {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
}

.footer-email:hover {
    color: var(--color-lime);
}

.footer-compliance {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--color-teal-dark);
    border: 2px solid var(--color-lime);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.scroll-to-top:hover {
    background: var(--color-lime);
    transform: translateY(-5px);
}

.scroll-to-top span {
    color: var(--color-white);
    font-size: 1.5rem;
}

.scroll-to-top:hover span {
    color: var(--color-teal-dark);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .pathways-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 4rem 1.5rem 3rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

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

    .hero-cta {
        flex-direction: column;
    }

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

    .section-title,
    .section-title-white,
    .cta-title {
        font-size: 2rem;
    }

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

    .impact-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .footer-legal-sections {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-features {
        flex-direction: column;
        gap: 0.5rem;
    }
}

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

    .hero-stats {
        grid-template-columns: 1fr;
    }

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