/* ==========================================================================
   AKS-Pro Landing Page — Brand Colors from Logo
   Primary Blue: #1B3A8F   Accent Orange: #E8783A
   ========================================================================== */

:root {
    --blue-deep: #0F1F4E;
    --blue-primary: #1B3A8F;
    --blue-light: #2A4FAD;
    --orange-primary: #E8783A;
    --orange-light: #F09A5E;
    --orange-dark: #C85E20;
    --dark: #0A0F1F;
    --gray-900: #1A1F2E;
    --gray-100: #F4F5F7;
    --gray-200: #E8EAED;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #2D3748;
    overflow-x: hidden;
}

/* ==========================================================================
   Navbar
   ========================================================================== */

#mainNav {
    background: transparent;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

#mainNav.nav-scrolled {
    background: rgba(10, 15, 31, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.brand-text {
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

#mainNav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}

#mainNav .nav-link:hover {
    color: var(--orange-primary);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--dark) 0%, var(--blue-deep) 50%, #0D2B5E 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(232, 120, 58, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--gray-100), transparent);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    background: rgba(232, 120, 58, 0.15);
    color: var(--orange-light);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(232, 120, 58, 0.3);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

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

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 580px;
}

.btn-accent {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    color: var(--white);
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(232, 120, 58, 0.3);
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--orange-light), var(--orange-primary));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(232, 120, 58, 0.4);
}

.btn-outline-light {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.8rem;
}

.hero-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ==========================================================================
   Section Styles
   ========================================================================== */

.section-light {
    padding: 6rem 0;
    background: var(--gray-100);
}

.section-dark {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--blue-deep) 100%);
}

.section-accent {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-deep) 100%);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6B7280;
}

/* ==========================================================================
   Feature Cards
   ========================================================================== */

.feature-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(232, 120, 58, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(27, 58, 143, 0.1), rgba(232, 120, 58, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    color: var(--blue-primary);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--dark);
}

.feature-card p {
    font-size: 0.92rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==========================================================================
   System Section
   ========================================================================== */

.system-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.system-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.system-number {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.system-item h4 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.system-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* System Diagram */

.system-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.diagram-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
    padding: 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--white);
}

.diagram-box i {
    margin-bottom: 0.3rem;
}

.diagram-main {
    background: linear-gradient(135deg, var(--orange-primary), var(--orange-dark));
    width: 200px;
    padding: 1.5rem;
    font-size: 0.95rem;
    box-shadow: 0 8px 30px rgba(232, 120, 58, 0.3);
}

.diagram-sub {
    background: rgba(27, 58, 143, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 130px;
}

.diagram-leaf {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: 100px;
    font-size: 0.78rem;
    padding: 0.8rem 0.5rem;
}

.diagram-connections {
    display: flex;
    justify-content: center;
}

.diagram-line {
    width: 2px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
}

.diagram-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ==========================================================================
   Step Cards (How it works)
   ========================================================================== */

.step-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    border: 1px solid var(--gray-200);
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.step-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==========================================================================
   Screenshots Section
   ========================================================================== */

.screenshot-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-5px);
}

.screenshot-card img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-card:hover img {
    border-color: rgba(232, 120, 58, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.screenshot-label {
    margin-top: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */

.stat-item {
    padding: 1.5rem 0;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-card:hover {
    border-color: rgba(27, 58, 143, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
    color: var(--white);
}

.contact-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--blue-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.contact-card a:hover {
    color: var(--orange-primary);
}

.contact-card p {
    color: #6B7280;
    margin-bottom: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--dark);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--orange-primary);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

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

    .hero-section {
        padding-top: 5rem;
    }

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

    #mainNav {
        background: rgba(10, 15, 31, 0.95);
        backdrop-filter: blur(10px);
    }
}

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

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

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

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

    .hero-actions .me-3 {
        margin-right: 0 !important;
    }

    .section-light,
    .section-dark {
        padding: 4rem 0;
    }

    .stat-number {
        font-size: 2rem;
    }

    .diagram-leaf {
        width: 80px;
        font-size: 0.7rem;
    }
}

/* ==========================================================================
   Smooth scroll offset for fixed navbar
   ========================================================================== */

html {
    scroll-padding-top: 80px;
}
