:root {
    --navy: #001f3f;
    --navy-light: #002d5c;
    --teal: #209595;
    --teal-dark: #197a7a;
    --orange: #ea6600;
    --orange-hover: #c95200;
    --white: #ffffff;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-400: #94a3b8;
    --slate-600: #475569;
    --slate-800: #1e293b;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.nav-controls {
    display: none;
    /* Just in case or remove entirely */
}

.lang-switch {
    display: flex;
    gap: 8px;
    padding-left: 20px;
    border-left: 1px solid var(--slate-200);
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--slate-400);
    padding: 4px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.lang-btn.active,
.lang-btn:hover {
    color: var(--teal);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--slate-800);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--navy);
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade {
    animation: fadeIn 1s ease-out forwards;
}

/* Navbar */
nav {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: var(--glass);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--slate-100);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 4rem;
    /* Increased spacing */
}

.logo span {
    color: var(--teal);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--slate-600);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(255, 133, 27, 0.39);
}

.btn-primary:hover {
    background-color: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(255, 133, 27, 0.23);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--navy);
    border: 2px solid var(--slate-200);
}

.btn-secondary:hover {
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-2px);
}

.hamburger-btn {
    display: none;
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    background: radial-gradient(circle at top right, #e6fbff, transparent),
        radial-gradient(circle at bottom left, #fff1e6, transparent);
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    color: var(--slate-600);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 5rem;
}

/* Process Flow */
.process-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
    margin-top: 5rem;
    position: relative;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

/* Connecting Line Background */
.process-flow::before {
    content: '';
    position: absolute;
    top: 60px;
    /* Aligns with icon center */
    left: 80px;
    right: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--navy-light), var(--teal));
    opacity: 0.1;
    z-index: 0;
    border-radius: 10px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    flex: 1;
    transition: transform 0.3s ease;
    cursor: default;
}

.flow-step:hover {
    transform: translateY(-8px);
}

.flow-icon {
    width: 64px;
    height: 64px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--teal);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.flow-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2px;
    transition: all 0.3s ease;
}

/* Pulse effect behind icons */
.flow-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    box-shadow: 0 0 0 0 rgba(32, 149, 149, 0.4);
    transition: all 0.3s ease;
    z-index: -1;
}

.flow-step:hover .flow-icon {
    transform: scale(1.1);
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 20px 40px -10px rgba(0, 31, 63, 0.3);
}

.flow-step:hover .flow-icon::after {
    animation: pulse-teal 1.5s infinite;
}

@keyframes pulse-teal {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(32, 149, 149, 0.4);
    }

    70% {
        transform: scale(1.4);
        box-shadow: 0 0 0 10px rgba(32, 149, 149, 0);
    }

    100% {
        transform: scale(1.4);
        box-shadow: 0 0 0 0 rgba(32, 149, 149, 0);
    }
}

.flow-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--slate-600);
    text-align: center;
    line-height: 1.4;
    max-width: 140px;
    transition: color 0.3s ease;
}

.flow-step:hover .flow-label {
    color: var(--teal);
}

/* Remove separate arrow divs, use pseudo-element line instead */
.flow-arrow {
    display: none;
}

@media (max-width: 900px) {
    .process-flow {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
        align-items: stretch;
    }

    .process-flow::before {
        display: none;
        /* Hide horizontal line */
    }

    .flow-step {
        flex-direction: row;
        justify-content: flex-start;
        padding: 1.25rem;
        background: var(--white);
        border-radius: 16px;
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--slate-100);
    }

    .flow-step:hover {
        transform: translateX(10px);
    }

    .flow-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        border-radius: 12px;
        flex-shrink: 0;
    }

    .flow-label {
        font-size: 1rem;
        text-align: left;
        max-width: none;
    }
}

/* Sections General */
section {
    padding: 6rem 0;
}

.section-tag {
    color: var(--teal);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--slate-600);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* Who It's For */
.audience {
    background-color: var(--slate-50);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--slate-200);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--teal);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--slate-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--teal);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.card p {
    color: var(--slate-600);
    font-size: 0.95rem;
}

/* Problem/Solution */
.problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.problem-list,
.solution-list {
    list-style: none;
}

.problem-list li,
.solution-list li {
    padding: 1rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-weight: 500;
}

.problem-list li {
    color: var(--slate-400);
}

.problem-list li::before {
    content: "✕";
    color: #f87171;
    font-weight: 800;
}

.solution-list li {
    color: var(--navy);
}

.solution-list li::before {
    content: "✓";
    color: var(--teal);
    font-weight: 800;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--slate-200);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--slate-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    transition: all 0.3s;
}

.feature-item:hover .feature-icon {
    background: var(--teal);
    color: var(--white);
    transform: scale(1.1);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2px;
}

.feature-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-content p {
    color: var(--slate-600);
    line-height: 1.6;
}

/* Why Section */
.why {
    background-color: var(--navy);
    color: var(--white);
    border-radius: 40px;
    margin: 4rem 1.5rem;
    text-align: center;
}

.why h2,
.why p,
.why .section-tag {
    color: var(--white);
}

.why .section-tag {
    color: var(--teal);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.why-item h4 {
    color: var(--teal);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.why-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* CTA Section */
.final-cta {
    text-align: center;
    padding: 10rem 0;
}

.final-cta h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--slate-100);
    color: var(--slate-400);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .problem-solution {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }

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

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

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

/* Contact Section */
.contact-section {
    background: var(--slate-50);
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info .section-desc {
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--slate-200);
    transition: all 0.3s;
}

.contact-item:hover {
    border-color: var(--teal);
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--slate-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-size: 1.5rem;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-item h4 {
    font-size: 0.9rem;
    color: var(--slate-400);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.contact-item a {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--teal);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 1rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-200);
    overflow: hidden;
}

/* Navigation & General */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

    /* Navigation */
    nav {
        height: 70px;
        padding: 0;
    }

    /* Grid layout for mobile nav: [Hamburger] [Logo] [Lang] */
    /* active: fixed nav-links are handled separately (position: fixed) */
    .nav-wrapper {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        /* Equal side columns ensure center logo */
        align-items: center;
        width: 100%;
    }

    .hamburger-btn {
        display: block;
        /* Visible on mobile */
        background: none;
        border: none;
        color: var(--navy);
        cursor: pointer;
        z-index: 1002;
        padding: 0;
        justify-self: start;
    }

    .logo {
        justify-self: center;
        margin-right: 0;
    }

    .lang-switch {
        justify-self: end;
        margin-right: -1rem;
        /* Pull closer to edge */
        border: none;
        padding: 0;
        width: auto;
    }

    .hamburger-btn svg {
        width: 32px;
        height: 32px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        display: flex;
        /* Changed from default block in some contexts */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
        padding: 2rem;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--navy);
        display: block;
        padding: 0.5rem;
    }

    .lang-btn {
        font-size: 1rem;
        padding: 0.5rem;
    }

    /* Hero */
    .hero {
        padding: 6rem 0 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
        padding: 0 2rem;
    }

    .hero-btns .btn {
        width: 100%;
    }

    /* Sections */
    section {
        padding: 4rem 0;
    }

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

    /* Process Flow */
    .process-flow {
        margin-top: 3rem;
        padding: 1.5rem;
    }

    /* Contact */
    .contact-grid {
        gap: 3rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
        gap: 1rem;
    }

    .contact-item .contact-icon {
        margin: 0 auto;
    }

    .contact-item>div:not(.contact-icon) {
        width: 100%;
    }

    /* Why Section */
    .why {
        margin: 2rem 1rem;
        border-radius: 24px;
        padding: 4rem 1.5rem !important;
        text-align: center;
    }

    .why h2,
    .why p,
    .why .section-tag {
        text-align: center;
    }
}