/* ==========================================================================
   CSS Variables & Foundations
   ========================================================================== */
:root {
    /* Colors based on logo and design system */
    --primary-blue: #1F3E6A;
    --accent-blue: #2FB4E7;
    --dark-blue: #0F2A4A;
    --bg-color: #FFFFFF;
    --bg-sec: #F7FAFF;
    --text-main: #151515;
    --text-sec: #5A5A5A;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-pad: 100px 0;

    /* Shadows & Effects */
    --shadow-sm: 0 4px 12px rgba(15, 42, 74, 0.04);
    --shadow-md: 0 12px 32px rgba(15, 42, 74, 0.08);
    --shadow-lg: 0 24px 48px rgba(15, 42, 74, 0.12);
    --glow-accent: 0 0 20px rgba(47, 180, 231, 0.4);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -1px;
}

h2 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 24px;
    font-weight: 600;
}

p {
    color: var(--text-sec);
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.text-main {
    color: var(--text-main);
}

.text-sec {
    color: var(--text-sec);
}

.text-accent {
    color: var(--accent-blue);
}

.text-white {
    color: #fff;
}

.text-light {
    color: rgba(255, 255, 255, 0.7);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-light {
    background-color: var(--bg-sec);
}

.bg-dark {
    background-color: var(--dark-blue);
}

.mt-4 {
    margin-top: 2rem;
}

.mt-60 {
    margin-top: 60px;
}

.mb-60 {
    margin-bottom: 60px;
}

.section {
    padding: var(--section-pad);
}

.section-header {
    margin-bottom: 60px;
    max-width: 800px;
    margin-inline: auto;
}

.section-desc {
    font-size: 20px;
}

/* Buttons & CTA */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    /* Official WhatsApp Green */
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    /* WhatsApp Dark Green */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: rgba(31, 62, 106, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(31, 62, 106, 0.05);
    border-color: var(--primary-blue);
}

.btn-glow:hover {
    box-shadow: var(--glow-accent);
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 18px;
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.microcopy {
    font-size: 13px;
    color: var(--text-sec);
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.8;
}

/* ==========================================================================
   Layout & Components
   ========================================================================== */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 16px 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    height: 60px;
    width: auto;
    display: block;
    transform: scale(2.2);
    transform-origin: left center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    font-size: 16px;
    color: var(--text-main);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark-blue);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 200px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(31, 62, 106, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 62, 106, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -2;
}

.hero-bg-glow {
    position: absolute;
    top: -20vh;
    right: -10vw;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(47, 180, 231, 0.05) 0%, rgba(255, 255, 255, 0) 60%);
    border-radius: 50%;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.subheadline {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-main);
    opacity: 0.9;
}

.hero-bullets {
    margin-bottom: 40px;
}

.hero-bullets li {
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-sec);
    font-weight: 500;
}

.hero-ctas {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.hero-visual {
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    animation: float 8s ease-in-out infinite alternate;
}

.shape-1 {
    width: 250px;
    height: 250px;
    background: rgba(31, 62, 106, 0.15);
    top: 5%;
    right: 5%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: rgba(47, 180, 231, 0.15);
    bottom: 10%;
    left: 0%;
    animation-delay: -2s;
}

/* Founder Card in Hero */
.founder-card-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(47, 180, 231, 0.2);
}

.founder-photo-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.founder-photo-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.7), transparent);
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.founder-info {
    padding: 24px;
    text-align: center;
    background: #fff;
}

.founder-name {
    font-size: 20px;
    margin-bottom: 4px;
}

.founder-role {
    font-size: 14px;
    color: var(--text-sec);
    margin-bottom: 16px;
    line-height: 1.4;
}

.founder-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.founder-badges .badge {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(47, 180, 231, 0.1);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Problem Section */
.problem-content {
    max-width: 800px;
    margin: 0 auto;
}

.problem-text {
    font-size: 22px;
    color: var(--text-main);
    opacity: 0.9;
    line-height: 1.6;
}

/* Solution Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(47, 180, 231, 0.2);
}

.icon-box {
    width: 64px;
    height: 64px;
    background: rgba(47, 180, 231, 0.1);
    color: var(--accent-blue);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.benefit-card:hover .icon-box {
    background: var(--accent-blue);
    color: #fff;
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 0;
}

/* Dark Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.dark-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
    text-align: center;
}

.dark-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 24px;
    display: inline-block;
    padding: 16px;
    background: rgba(31, 62, 106, 0.05);
    border-radius: 16px;
}

.dark-card h3 {
    color: var(--text-main);
}

.dark-card p {
    color: var(--text-sec);
    margin-bottom: 0;
    font-size: 16px;
}

/* Process Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    height: 100%;
    width: 2px;
    background: rgba(31, 62, 106, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--bg-sec);
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-blue);
    font-family: var(--font-heading);
    box-shadow: 0 0 0 8px var(--bg-sec);
}

.timeline-content {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(47, 180, 231, 0.2);
}

.timeline-content h3 {
    margin-bottom: 8px;
}

.timeline-content p {
    margin-bottom: 0;
    font-size: 16px;
}

/* Proof Section */
.proof {
    padding: 80px 0;
}

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

.quote-icon {
    font-size: 40px;
    margin-bottom: 24px;
    opacity: 0.2;
}

.proof-text {
    font-size: 28px;
    font-family: var(--font-heading);
    color: var(--dark-blue);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 30px;
}

.proof-author {
    font-size: 18px;
    color: var(--text-sec);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(47, 180, 231, 0.3);
}

.project-image-placeholder {
    height: 200px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255, 255, 255, 0.2);
}

.project-info {
    padding: 30px;
}

.project-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(47, 180, 231, 0.15);
    color: var(--accent-blue);
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 12px;
}

.project-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-bottom: 20px;
}

.project-stack {
    display: flex;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

.project-stack li {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* CTA Final */
.cta-card {
    background: var(--gradient-primary);
    padding: 80px 40px;
    border-radius: 24px;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

.cta-card h2 {
    color: #fff;
    position: relative;
    z-index: 1;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

.cta-card .btn {
    position: relative;
    z-index: 1;
    background: #fff;
    color: var(--primary-blue);
}

.cta-card .text-accent {
    color: #fff;
}

.cta-card .btn:hover {
    background: var(--dark-blue);
    color: #fff;
}

.cta-final-wrapper {
    position: relative;
    z-index: 1;
    margin-top: 24px;
}

/* Footer */
.footer {
    background: #0A192F;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 60px;
    width: auto;
    display: block;
    transform: scale(2.5);
    transform-origin: left center;
    filter: brightness(0) invert(1);
}

.footer h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 24px;
}

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

.footer-links a:hover {
    color: var(--accent-blue);
    padding-left: 4px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 16px;
}

.contact-link:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 0;
}

/* ==========================================================================
   Animations & Responsiveness
   ========================================================================== */

/* Animations */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.fade-up {
    transform: translateY(40px);
}

.fade-left {
    transform: translateX(40px);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion) {
    .reveal {
        transition: none;
        opacity: 1;
        transform: translate(0, 0);
    }

    .hero-bg-lines {
        display: none;
    }

    .tech-shape {
        animation: none;
    }

    .cta-card::before {
        animation: none;
    }

    .glass-card {
        transform: none !important;
    }
}

/* Responsiveness */
@media (max-width: 1024px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 34px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-bullets {
        display: inline-block;
        text-align: left;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero {
        padding-top: 160px;
        min-height: auto;
    }

    .hero-visual {
        margin-top: 40px;
    }

    .founder-card-wrapper {
        max-width: 320px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background: var(--bg-color);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        transition: var(--transition);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        margin-bottom: 40px;
    }

    .nav-links a {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 28px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

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

    .founder-card-wrapper {
        max-width: 280px;
    }
}