/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #1a1a2e;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #10B981, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 36px;
}

.nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    transition: color 0.25s;
}

.nav a:hover {
    color: #0f172a;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: #64748b;
    border-radius: 2px;
    transition: 0.25s;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/images/hero.jpg') center/cover no-repeat;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.35) 0%,
        rgba(15, 23, 42, 0.50) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 160px 24px 120px;
    max-width: 800px;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.7;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
    border: none;
    font-family: inherit;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #10B981, #059669);
    color: #fff;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-lg {
    padding: 18px 48px;
    font-size: 1.05rem;
    border-radius: 14px;
}

/* ===== Sections ===== */
.section {
    padding: 120px 0;
    position: relative;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #10B981;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.section-title-left {
    text-align: left;
}

.section-label + .section-title {
    text-align: center;
}

/* Center labels when not in about */
.section > .container > .section-label {
    text-align: center;
}

/* ===== About Section ===== */
.about-section {
    background: #f8fafc;
}

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

.about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-text .section-label {
    text-align: left;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 24px;
    font-size: 36px;
}

.about-text p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ===== App Showcase Section ===== */
.apps-section {
    background: #ffffff;
}

.app-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: #f8fafc;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.app-showcase-image {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.app-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.app-badge-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.badge-coming {
    background: rgba(245, 158, 11, 0.9);
    color: #fff;
    backdrop-filter: blur(4px);
}

.app-showcase-content {
    padding: 48px 48px 48px 0;
}

.app-name {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.app-desc {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.app-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #334155;
    font-weight: 500;
}

/* ===== Why Section ===== */
.why-section {
    background: #f8fafc;
}

.why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.why-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.why-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex-shrink: 0;
}

.icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.icon-blue {
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
}

.icon-purple {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.icon-amber {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.feature-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    text-align: center;
    background: url('/images/office.jpg') center/cover no-repeat;
    color: #fff;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.45) 0%,
        rgba(15, 23, 42, 0.55) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content .section-label {
    color: #34d399;
}

.cta-title {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 400;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.cta-email {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* ===== Footer ===== */
.footer {
    background: #0f172a;
    color: #94a3b8;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    font-size: 1.3rem;
}

.footer-tagline {
    margin-top: 6px;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.footer-nav a {
    color: #94a3b8;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #e2e8f0;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: #475569;
    font-size: 0.8rem;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ===== Mobile Nav ===== */
.nav.nav-open {
    display: flex;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

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

    .about-image img {
        height: 300px;
    }

    .about-text .section-title,
    .about-text .section-label {
        text-align: center;
    }

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

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

    .app-showcase-image {
        min-height: 300px;
        position: relative;
    }

    .app-showcase-content {
        padding: 36px;
    }

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

    .why-image img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px 24px;
        gap: 18px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

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

    .hero-title {
        font-size: 36px;
    }

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

    .section-title {
        font-size: 28px;
    }

    .cta-title {
        font-size: 32px;
    }

    .section {
        padding: 80px 0;
    }

    .hero-content {
        padding: 120px 24px 80px;
    }

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

    .app-showcase-content {
        padding: 28px;
    }

    .feature-card {
        padding: 20px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

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

    .about-image img {
        height: 240px;
    }

    .why-image img {
        height: 260px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-nav {
        gap: 20px;
    }

    .feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
