/* ==========================================================================
   DigiSchool Web Portal Stylesheet
   Design System: Responsive, Premium, Glassmorphism, CSS Custom Properties
   ========================================================================== */

/* 1. Theme Configuration & CSS Variables
   To change the theme of the entire site in the future, simply update these variables. */
:root {
    /* Brand Colors (Derived from DigiSchool Logo) */
    --primary-color: #0e5ca8;
    /* Deep Blue from logo */
    --secondary-color: #f37021;
    /* Vibrant Orange from logo */
    --accent-color: #00a89d;
    /* Teal/Green from logo book */
    --accent-light: #00a1e4;
    /* Light Blue from logo subtext */

    /* Semantic Colors */
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    /* Backgrounds & Text */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #072546;
    /* Dark Navy match */
    --bg-dark-accent: #0f3a6b;

    --text-primary: #1e293b;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --text-white: #ffffff;

    /* Typography */
    --font-heading: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Borders & Shadow Systems */
    --border-color: #e2e8f0;
    --border-color-dark: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(14, 92, 168, 0.08), 0 8px 10px -6px rgba(14, 92, 168, 0.05);
    --shadow-lg: 0 20px 40px -10px rgba(7, 37, 70, 0.12), 0 10px 15px -3px rgba(7, 37, 70, 0.06);
    --shadow-accent: 0 15px 30px rgba(243, 112, 33, 0.15);
    --shadow-glass: 0 8px 32px 0 rgba(14, 92, 168, 0.1);

    /* Borders & Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --header-height: 80px;
    --container-max-width: 1380px;
}

/* 2. Global Resets & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--bg-dark);
    font-weight: 700;
    line-height: 1.2;
}

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

button,
input,
select,
textarea {
    font-family: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

/* 3. Helper Classes & Typography Utilities */
.text-center {
    text-align: center;
}

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

.mt-1 {
    margin-top: 0.5rem;
}

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

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

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-6 {
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: rgba(14, 92, 168, 0.08);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    border: 1px solid rgba(14, 92, 168, 0.15);
}

.section-tag.light {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.2);
}

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

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

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(14, 92, 168, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 161, 228, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-white);
    box-shadow: var(--shadow-accent);
}

.btn-secondary:hover {
    background-color: #e06016;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 112, 33, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background-color: var(--text-white);
    color: var(--bg-dark);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

/* 4. Navigation & Header */
header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
}

header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-sm);
    background-color: rgba(255, 255, 255, 0.95);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

@media (min-width: 993px) {
    header nav {
        margin-left: 4rem;
        margin-right: auto;
    }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    transition: var(--transition-normal);
}

header.scrolled .logo-img {
    height: 42px;
    width: 42px;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    display: flex;
    align-items: center;
}

.brand-name span {
    color: var(--secondary-color);
}

.brand-tagline {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition-normal);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

/* Dropdown Menu Styling */
.nav-item.dropdown {
    position: relative;
    list-style: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--bg-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 0.75rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.dropdown-item i {
    font-size: 1rem;
    color: var(--primary-color);
    transition: var(--transition-fast);
    width: 20px;
    text-align: center;
}

.dropdown-item:hover {
    background-color: rgba(14, 92, 168, 0.05);
    color: var(--primary-color);
}

.dropdown-item:hover i {
    color: var(--secondary-color);
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle .dropdown-icon {
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

@media (min-width: 993px) {
    .nav-item.dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .nav-item.dropdown:hover .dropdown-toggle .dropdown-icon {
        transform: rotate(180deg);
    }
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--bg-dark);
}

/* Responsive Navigation Drawer */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 280px;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-white);
        box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.05);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition-normal);
        border-left: 1px solid var(--border-color);
    }

    header.scrolled .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .nav-menu.open {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    .nav-link {
        width: 100%;
        font-size: 1.1rem;
    }

    .nav-btn {
        width: 100%;
        margin-top: 1rem;
    }

    .nav-item.dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--primary-color);
        padding: 0.5rem 0 0.5rem 1rem;
        margin-top: 0.5rem;
        margin-left: 0.5rem;
        opacity: 1;
        visibility: visible;
        display: none;
        min-width: unset;
        width: calc(100% - 1rem);
    }

    .dropdown-menu.show {
        display: flex;
    }

    .nav-item.dropdown.active-dropdown .dropdown-icon {
        transform: rotate(180deg);
    }
}

/* 5. Hero Section */
.hero-section {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 5rem;
    background: radial-gradient(circle at 80% 20%, rgba(0, 168, 157, 0.05), transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(243, 112, 33, 0.05), transparent 40%),
        linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(14, 92, 168, 0.08) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    opacity: 0.6;
}

.hero-grid {
    display: grid;
    grid-template-cols: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--bg-white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

.hero-badge .badge-dot {
    height: 8px;
    width: 8px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--secondary-color);
    background: linear-gradient(135deg, var(--secondary-color), #ff8d43);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.3rem;
}

/* Hero visual */
.hero-visual {
    position: relative;
}

.hero-visual-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    padding: 0.8rem;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
    transition: var(--transition-slow);
}

.hero-visual:hover .hero-visual-card {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-visual-card img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    width: 100%;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    z-index: 20;
    transition: var(--transition-normal);
}

.floating-badge:hover {
    transform: scale(1.05) translateY(-3px);
}

.badge-1 {
    top: 15%;
    left: -20px;
    animation: float 4s ease-in-out infinite alternate;
}

.badge-2 {
    bottom: 10%;
    right: -10px;
    animation: float 4s ease-in-out infinite alternate-reverse;
}

.floating-badge .badge-icon {
    background: rgba(14, 92, 168, 0.1);
    color: var(--primary-color);
    height: 36px;
    width: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.badge-2 .badge-icon {
    background: rgba(243, 112, 33, 0.1);
    color: var(--secondary-color);
}

.badge-text-primary {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--bg-dark);
}

.badge-text-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

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

@media (max-width: 992px) {
    .hero-grid {
        grid-template-cols: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

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

    .hero-stats {
        justify-content: center;
        gap: 2.5rem;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-visual-card {
        transform: none;
    }

    .badge-1 {
        left: -10px;
    }

    .badge-2 {
        right: -10px;
    }
}

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

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
}

/* 6. Prominent Feature: Offline Desktop App Section */
.offline-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow: hidden;
}

.offline-section .section-title {
    color: var(--text-white);
}

.offline-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.offline-grid {
    display: grid;
    grid-template-cols: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.offline-features {
    display: grid;
    grid-template-cols: 1fr;
    gap: 1.5rem;
}

.offline-feat-card {
    background-color: var(--bg-dark-accent);
    border: 1px solid var(--border-color-dark);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    display: flex;
    gap: 1.2rem;
    transition: var(--transition-normal);
}

.offline-feat-card:hover {
    transform: translateX(8px);
    border-color: rgba(0, 168, 157, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.offline-feat-icon {
    font-size: 1.6rem;
    color: var(--accent-color);
    background-color: rgba(0, 168, 157, 0.1);
    height: 48px;
    width: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.offline-feat-card:nth-child(2) .offline-feat-icon {
    color: var(--secondary-color);
    background-color: rgba(243, 112, 33, 0.1);
}

.offline-feat-card:nth-child(3) .offline-feat-icon {
    color: var(--accent-light);
    background-color: rgba(0, 161, 228, 0.1);
}

.offline-feat-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.4rem;
}

.offline-feat-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

/* Offline Sync Interactive Simulator Widget */
.sync-simulator {
    background-color: #0b2e55;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.sim-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.2rem;
    margin-bottom: 1.8rem;
}

.sim-title {
    font-size: 1.2rem;
    color: var(--text-white);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
}

.status-badge.online {
    background-color: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.status-badge.offline {
    background-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.status-badge.syncing {
    background-color: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

.status-badge .dot {
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background-color: currentColor;
}

.status-badge.online .dot {
    animation: blink 1.2s infinite;
}

.status-badge.syncing .dot {
    animation: pulse 1s infinite alternate;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

.sim-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Device Panels */
.sim-panel {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sim-panel-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.sim-panel-title i {
    color: var(--accent-light);
}

.sim-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 1rem 0;
}

.sim-action-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-fast);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sim-action-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.sim-action-btn:active {
    transform: scale(0.97);
}

.sim-queue-counter {
    background-color: rgba(243, 112, 33, 0.15);
    border: 1px solid rgba(243, 112, 33, 0.3);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Sync Tunnel Visualizer */
.sync-tunnel {
    width: 80px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tunnel-line {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    border-radius: 2px;
}

.tunnel-line.upload,
.tunnel-line.download {
    background-color: rgba(0, 168, 157, 0.3);
}

.sync-packet {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    position: absolute;
    top: -4px;
    left: 0;
    display: none;
}

.tunnel-line.upload .sync-packet {
    display: block;
    background-color: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
    animation: send-packet-upload 1.2s infinite linear;
}

.tunnel-line.download .sync-packet {
    display: block;
    background-color: var(--accent-light);
    box-shadow: 0 0 10px var(--accent-light);
    animation: send-packet-download 1.2s infinite linear;
}

@keyframes send-packet-upload {
    0% {
        left: 0%;
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }

    100% {
        left: 90%;
        opacity: 0.2;
    }
}

@keyframes send-packet-download {
    0% {
        left: 90%;
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }

    100% {
        left: 0%;
        opacity: 0.2;
    }
}

.tunnel-icon {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 1rem;
    transition: var(--transition-fast);
}

.syncing-spin {
    animation: rotate 2s infinite linear;
    color: var(--accent-color) !important;
}

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

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

/* Database Info Panel */
.db-stats {
    text-align: left;
    background-color: rgba(0, 0, 0, 0.15);
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-family: monospace;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.db-stat-row {
    display: flex;
    justify-content: space-between;
}

.db-val {
    color: var(--success-color);
    font-weight: 700;
}

.sim-controls {
    margin-top: 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.sim-ctrl-btn {
    width: 100%;
    padding: 0.8rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.sim-ctrl-btn.disconnect {
    background-color: var(--danger-color);
    color: var(--text-white);
}

.sim-ctrl-btn.disconnect:hover {
    background-color: #dc2626;
}

.sim-ctrl-btn.connect {
    background-color: var(--success-color);
    color: var(--text-white);
}

.sim-ctrl-btn.connect:hover {
    background-color: #059669;
}

.sim-hint {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

@media (max-width: 992px) {
    .offline-grid {
        grid-template-cols: 1fr;
        gap: 3.5rem;
    }
}

@media (max-width: 576px) {
    .sim-body {
        flex-direction: column;
    }

    .sync-tunnel {
        height: 50px;
        width: 100%;
    }

    .tunnel-line {
        height: 100%;
        width: 4px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .sync-packet {
        left: -4px !important;
        top: 0;
        animation: send-packet-vertical 1s infinite linear !important;
    }

    @keyframes send-packet-vertical {
        0% {
            top: 0%;
            opacity: 0.2;
        }

        50% {
            opacity: 1;
        }

        100% {
            top: 90%;
            opacity: 0.2;
        }
    }

    .sim-panel {
        width: 100%;
        min-height: auto;
    }
}

/* 7. Features Grid Section */
.features-section {
    background-color: var(--bg-white);
}

#features .features-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2.5rem !important;
}

@media (max-width: 768px) {
    #features .features-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

.feature-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-light));
    opacity: 0;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 92, 168, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-header {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.feature-header .feature-icon-container {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition-normal);
}

.feature-header:hover .feature-icon-container {
    transform: scale(1.05);
}

.feature-header-text {
    flex: 1;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--bg-dark);
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Submenu Badges */
.submenu-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

.submenu-badge {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    transition: var(--transition-fast);
    cursor: default;
}

/* Individual badge color themes */
.fee-badges .submenu-badge {
    background-color: rgba(243, 112, 33, 0.08);
    color: var(--secondary-color);
}

.fee-badges .submenu-badge:hover {
    background-color: var(--secondary-color);
    color: var(--text-white);
}

.accounts-badges .submenu-badge {
    background-color: rgba(5, 150, 105, 0.08);
    color: #059669;
}

.accounts-badges .submenu-badge:hover {
    background-color: #059669;
    color: var(--text-white);
}

.employee-badges .submenu-badge {
    background-color: rgba(14, 92, 168, 0.08);
    color: var(--primary-color);
}

.employee-badges .submenu-badge:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
}

.students-badges .submenu-badge {
    background-color: rgba(124, 58, 237, 0.08);
    color: #7c3aed;
}

.students-badges .submenu-badge:hover {
    background-color: #7c3aed;
    color: var(--text-white);
}

.parents-badges .submenu-badge {
    background-color: rgba(79, 70, 229, 0.08);
    color: #4f46e5;
}

.parents-badges .submenu-badge:hover {
    background-color: #4f46e5;
    color: var(--text-white);
}

.academics-badges .submenu-badge {
    background-color: rgba(0, 168, 157, 0.08);
    color: var(--accent-color);
}

.academics-badges .submenu-badge:hover {
    background-color: var(--accent-color);
    color: var(--text-white);
}

.settings-badges .submenu-badge {
    background-color: rgba(225, 29, 72, 0.08);
    color: #e11d48;
}

.settings-badges .submenu-badge:hover {
    background-color: #e11d48;
    color: var(--text-white);
}

.admin-badges .submenu-badge {
    background-color: rgba(217, 119, 6, 0.08);
    color: #d97706;
}

.admin-badges .submenu-badge:hover {
    background-color: #d97706;
    color: var(--text-white);
}

@media (max-width: 576px) {
    .feature-card {
        padding: 1.8rem 1.5rem;
    }
}

/* 8. Services Section */
.services-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

#services .services-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
}

@media (max-width: 768px) {
    #services .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

.service-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
}

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

.service-icon {
    font-size: 2.2rem;
    color: var(--accent-light);
    margin-bottom: 1.2rem;
}

.service-card:nth-child(2) .service-icon {
    color: var(--secondary-color);
}

.service-card:nth-child(3) .service-icon {
    color: var(--accent-color);
}

.service-card:nth-child(4) .service-icon {
    color: var(--primary-color);
}

.service-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--bg-dark);
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 9. About Us Section */
.about-section {
    background-color: var(--bg-white);
}

.about-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.about-content {
    max-width: 800px;
    text-align: center;
}

.about-title {
    font-size: 2.5rem;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
}

.about-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.about-values {
    display: grid;
    grid-template-cols: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.value-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.value-icon {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-top: 0.2rem;
}

.value-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 0.2rem;
}

.value-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-cols: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* 10. Pricing & Calculator Section */
.pricing-section {
    background-color: var(--bg-light);
}

.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* WhatsApp Integration Banner */
.wa-integration-card {
    background: linear-gradient(135deg, rgba(18, 140, 126, 0.05) 0%, rgba(7, 94, 84, 0.05) 100%);
    border: 1px dashed rgba(18, 140, 126, 0.3);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
    position: relative;
    overflow: hidden;
}

.wa-integration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #128c7e;
}

.wa-card-icon {
    font-size: 3.5rem;
    color: #128c7e;
    filter: drop-shadow(0 4px 6px rgba(18, 140, 126, 0.15));
    flex-shrink: 0;
}

.wa-card-body {
    flex: 1;
}

.wa-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wa-card-badge {
    background-color: #128c7e;
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.wa-card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.wa-card-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.wa-bullet-item {
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wa-bullet-item i {
    color: #128c7e;
    font-size: 0.95rem;
}

.wa-card-price {
    text-align: right;
    flex-shrink: 0;
}

.wa-price-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: #128c7e;
    font-family: var(--font-heading);
}

.wa-price-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
}

@media (max-width: 992px) {
    .wa-integration-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem;
    }

    .wa-card-price {
        text-align: left;
    }

    .wa-card-bullets {
        grid-template-columns: 1fr;
    }
}

/* Cost Calculator Layout - 2 Columns (Inputs left, Results right) */
.calc-grid-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

@media (max-width: 992px) {
    .calc-grid-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Custom Checkbox Toggle for WhatsApp in Calculator */
.wa-toggle-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    user-select: none;
    margin-top: 1.5rem;
}

.wa-toggle-container:hover {
    border-color: rgba(18, 140, 126, 0.4);
    background-color: rgba(18, 140, 126, 0.02);
}

.wa-toggle-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #128c7e;
    cursor: pointer;
}

.wa-toggle-text {
    flex: 1;
}

.wa-toggle-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--bg-dark);
    display: block;
}

.wa-toggle-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.1rem;
}

/* Pricing Card Component */
.pricing-card {
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card .btn {
    margin-top: auto;
}

.pricing-card.premium {
    border-color: var(--primary-color);
}

.pricing-badge {
    position: absolute;
    top: 25px;
    right: -35px;
    background-color: var(--secondary-color);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 2.5rem;
    transform: rotate(45deg);
    text-transform: uppercase;
}

.pricing-card-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.8rem;
    margin-bottom: 1.8rem;
}

.pricing-card-title {
    font-size: 1.6rem;
    color: var(--bg-dark);
}

.pricing-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.4rem;
}

.pricing-price {
    margin-top: 1.5rem;
    display: flex;
    align-items: baseline;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-val {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-heading);
    line-height: 1;
}

.price-period {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-left: 0.4rem;
}

.pricing-features-list {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pricing-feat-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.pricing-feat-item i {
    color: var(--success-color);
    font-size: 1rem;
}

/* Calculator Section */
.calc-container {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.calc-title {
    font-size: 1.4rem;
    color: var(--bg-dark);
    margin-bottom: 1.5rem;
}

.calc-group {
    margin-bottom: 2rem;
}

.calc-label-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-size: 0.95rem;
}

.calc-val-display {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Range Slider Styling */
.calc-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
    transition: background 0.3s;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background-color: #e06016;
}

.calc-select-input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-white);
    color: var(--bg-dark);
    font-size: 0.95rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: var(--transition-normal);
    margin-top: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.calc-select-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(14, 92, 168, 0.15);
}

.calc-results {
    background-color: rgba(14, 92, 168, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px dashed rgba(14, 92, 168, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.calc-row.total {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--bg-dark);
}

.calc-result-val {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
}

.calc-row.total .calc-result-val {
    font-size: 1.4rem;
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .pricing-layout {
        grid-template-cols: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .calc-container {
        padding: 1.8rem;
    }
}

/* 11. FAQ Section */
.faq-section {
    background-color: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--bg-light);
    transition: var(--transition-normal);
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(14, 92, 168, 0.25);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.2rem 1.8rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--bg-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-icon {
    font-size: 0.95rem;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-normal);
    padding: 0 1.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding-bottom: 1.5rem;
}

/* 12. Contact Form & Request Demo Section */
.contact-section {
    background-color: var(--bg-light);
}

#contact .contact-grid {
    display: flex !important;
    flex-direction: row !important;
    gap: 2rem !important;
}

#contact .contact-card {
    flex: 1 !important;
}

/* Contact Info cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    display: flex;
    gap: 1.2rem;
}

.contact-icon-box {
    background-color: rgba(14, 92, 168, 0.08);
    color: var(--primary-color);
    height: 48px;
    width: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-card:nth-child(2) .contact-icon-box {
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--success-color);
}

.contact-card:nth-child(3) .contact-icon-box {
    background-color: rgba(0, 161, 228, 0.08);
    color: var(--accent-light);
}

.contact-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bg-dark);
    margin-bottom: 0.2rem;
}

.contact-card-detail {
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

/* Form Styling */
.demo-form-container {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-grid {
    display: grid;
    grid-template-cols: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--bg-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(14, 92, 168, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-btn {
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 992px) {
    #contact .contact-grid {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .form-grid {
        grid-template-cols: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .demo-form-container {
        padding: 2rem 1.5rem;
    }
}

/* 13. Footer Section */
footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-cols: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand .brand-name {
    color: var(--text-white);
}

.footer-brand .brand-tagline {
    color: rgba(255, 255, 255, 0.5);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-title {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--secondary-color);
    padding-left: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    height: 36px;
    width: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-cols: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-cols: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   6. Desktop App Page Custom Styles
   ========================================================================== */
.desktop-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.desktop-specs-summary {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.desktop-specs-summary span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.desktop-specs-summary span i {
    color: var(--primary-color);
}

/* Download Card Widget */
.download-card-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 20;
}

.download-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -15px rgba(7, 37, 70, 0.15);
}

.download-card-header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-accent) 100%);
    color: var(--text-white);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
}

.download-icon-container {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-white);
    margin: 0 auto 1rem auto;
    box-shadow: var(--shadow-accent);
}

.download-card-header h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.download-os-info {
    font-size: 0.85rem;
    opacity: 0.8;
}

.download-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.download-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    font-size: 0.9rem;
}

.info-label {
    color: var(--text-muted);
    font-weight: 500;
}

.info-value {
    color: var(--text-primary);
    font-weight: 600;
    max-width: 220px;
    text-align: right;
}

.btn-download {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-weight: 700;
    gap: 0.75rem;
    margin-top: 0.5rem;
    box-shadow: var(--shadow-accent);
}

.download-status {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.requirements-grid {
    display: grid;
    grid-template-cols: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .requirements-grid {
        grid-template-cols: 1fr;
        gap: 2rem;
    }
}