/* ============================================
   MDM HISAB - MAIN STYLESHEET
   Primary: #001a2e | Accent: #06d6a0 | Blue: #0ea5e9
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #001a2e;
    --primary-light: #002d4a;
    --primary-dark: #000d17;
    --secondary: #003d6b;
    --accent: #06d6a0;
    --accent-dark: #05b687;
    --blue: #0ea5e9;
    --blue-dark: #0284c7;
    --purple: #a78bfa;
    --yellow: #facc15;
    --red: #f43f5e;
    --green: #06d6a0;
    --gradient-main: linear-gradient(135deg, #0ea5e9 0%, #06d6a0 100%);
    --gradient-hero: linear-gradient(135deg, #001a2e 0%, #002d4a 40%, #003d6b 100%);
    --gradient-dark: linear-gradient(135deg, #001a2e 0%, #001220 100%);
    --gradient-card: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(6, 214, 160, 0.05) 100%);
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(6, 214, 160, 0.15);
    --shadow-blue-glow: 0 0 40px rgba(14, 165, 233, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --container-max: 1200px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ===== CONTAINER ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ===== SECTION UTILITIES ===== */
.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: var(--gradient-card);
    border: 1px solid rgba(14, 165, 233, 0.15);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-badge-light {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--accent);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-title.text-white {
    color: #fff;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-subtitle.text-white-muted {
    color: rgba(255, 255, 255, 0.65);
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn:hover::after {
    opacity: 1;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.btn-accent {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 15px rgba(6, 214, 160, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 214, 160, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(14, 165, 233, 0.04);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-glass-white {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

.btn-glass-white:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(0, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 1001;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-image {
    width: 229px;
    height: 40px;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-actions .btn-outline {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-actions .btn-outline:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

/* ===== LANGUAGE DROPDOWN ===== */
.lang-dropdown {
    position: relative;
    z-index: 1001;
}

.lang-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    height: auto;
}

.lang-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-dropdown.open .lang-dropdown-trigger {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(14, 165, 233, 0.4);
}

.flag-icon {
    border-radius: 2px;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.lang-current {
    letter-spacing: 0.3px;
}

.lang-chevron {
    opacity: 0.5;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.lang-dropdown.open .lang-chevron {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 170px;
    background: #0a2540;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 2000;
}

.lang-dropdown.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-family);
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: left;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.lang-option.active {
    color: #fff;
    background: rgba(14, 165, 233, 0.12);
}

.lang-option .lang-check {
    margin-left: auto;
    color: var(--accent-blue);
    flex-shrink: 0;
}

/* ===== SIDEBAR OVERLAY ===== */
.sidebar-overlay {
    display: none;
}

/* ===== SIDEBAR HEADER & FOOTER (for mobile only) ===== */
.sidebar-header,
.sidebar-footer {
    display: none;
}

.sidebar-nav-list {
    display: contents;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav-list li {
    list-style: none;
}

.sidebar-close {
    display: none;
}

.sidebar-logo {
    display: none;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 100px;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    contain: layout style;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    background: var(--blue);
    top: -15%;
    right: -10%;
    animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -10%;
    left: -5%;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: var(--purple);
    top: 40%;
    left: 30%;
    animation: float 12s ease-in-out infinite 2s;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 214, 160, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(15px, -20px) scale(1.02); }
    66% { transform: translate(-10px, 15px) scale(0.98); }
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(6, 214, 160, 0.1);
    border: 1px solid rgba(6, 214, 160, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(6, 214, 160, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(6, 214, 160, 0); }
}

.hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title .gradient-text {
    display: block;
    font-size: clamp(40px, 5.5vw, 64px);
}

.hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-trust-stars {
    display: flex;
    gap: 2px;
}

.hero-trust span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* Hero Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-phone-mockup {
    position: relative;
}

.phone-frame {
    width: 280px;
    background: var(--primary-dark);
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
    position: relative;
}

.phone-notch {
    width: 100px;
    height: 24px;
    background: var(--primary-dark);
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.phone-screen {
    background: linear-gradient(180deg, #0a1628 0%, #0d1f36 100%);
    border-radius: 24px;
    padding: 42px 16px 20px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.mock-header-text {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.mock-header-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mock-header-icon span {
    width: 16px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

.mock-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    animation: slideInMock 0.6s ease-out backwards;
}

.mock-card-1 { animation-delay: 0.3s; }
.mock-card-2 { animation-delay: 0.5s; }
.mock-card-3 { animation-delay: 0.7s; }

@keyframes slideInMock {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mock-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mock-card-icon.income { background: rgba(6, 214, 160, 0.12); }
.mock-card-icon.expense { background: rgba(244, 63, 94, 0.12); }
.mock-card-icon.balance { background: rgba(14, 165, 233, 0.12); }

.mock-card-info {
    display: flex;
    flex-direction: column;
}

.mock-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.mock-value {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.mock-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--gradient-main);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-top: 8px;
    letter-spacing: 0.3px;
}

/* Floating Cards */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    z-index: 3;
}

.float-1 {
    top: 60px;
    right: -40px;
    animation: floatCard 4s ease-in-out infinite;
}

.float-2 {
    bottom: 100px;
    left: -50px;
    animation: floatCard 5s ease-in-out infinite 1s;
}

.float-3 {
    top: 200px;
    left: -30px;
    animation: floatCard 4.5s ease-in-out infinite 0.5s;
}

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

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.wave-divider svg {
    width: 100%;
    height: 80px;
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 40px 0 80px;
    background: var(--bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform var(--transition);
}

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

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    margin-bottom: 12px;
    display: inline-flex;
    padding: 12px;
    background: var(--gradient-card);
    border-radius: var(--radius-md);
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    display: inline;
    letter-spacing: -1px;
}

.stat-suffix {
    font-size: 24px;
    font-weight: 700;
    color: var(--blue);
    display: inline;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 6px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
}

.about-mockup {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border);
}

.about-screen {
    min-height: 360px;
}

.about-screen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--primary);
    color: #fff;
}

.screen-dots {
    display: flex;
    gap: 6px;
}

.screen-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.screen-dots span:nth-child(1) { background: #f43f5e; }
.screen-dots span:nth-child(2) { background: #facc15; }
.screen-dots span:nth-child(3) { background: #06d6a0; }

.screen-title {
    font-size: 14px;
    font-weight: 600;
}

.about-screen-body {
    padding: 20px;
}

.screen-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-secondary);
}

.screen-row-header {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.screen-row-total {
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: none;
    border-top: 2px solid var(--primary);
    padding-top: 16px;
}

.text-green { color: var(--green); font-weight: 600; }
.text-red { color: var(--red); font-weight: 600; }
.text-blue { color: var(--blue); font-weight: 600; }

.about-badge-float {
    position: absolute;
    bottom: -20px;
    right: -10px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    animation: floatCard 4s ease-in-out infinite;
}

.about-badge-float strong {
    font-size: 14px;
    color: var(--text-primary);
    display: block;
}

.about-badge-float small {
    font-size: 12px;
    color: var(--text-secondary);
}

.about-content .section-badge {
    display: inline-flex;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.about-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--gradient-card);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.about-feature strong {
    font-size: 15px;
    color: var(--text-primary);
    display: block;
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== WHY SECTION ===== */
.why-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    padding: 32px 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity var(--transition);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
    background: var(--bg-white);
}

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

.why-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(14, 165, 233, 0.1);
    transition: var(--transition);
}

.why-card:hover .why-card-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-blue-glow);
}

.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.features-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
    z-index: 0;
}

.features-bg::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    top: -20%;
    right: -10%;
}

.features-bg::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 214, 160, 0.08) 0%, transparent 70%);
    bottom: -15%;
    left: -10%;
}

.features-section .container {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 28px 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.how-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 40px 28px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    position: absolute;
    top: 12px;
    right: 20px;
    line-height: 1;
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--gradient-card);
    border: 2px solid rgba(14, 165, 233, 0.15);
    border-radius: 50%;
    transition: var(--transition);
}

.step-card:hover .step-icon-wrapper {
    transform: scale(1.1);
    box-shadow: var(--shadow-blue-glow);
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 70px;
    flex-shrink: 0;
    width: 60px;
}

/* ===== SCREENSHOTS SECTION ===== */
.screenshots-section {
    padding: 80px 0;
    background: var(--bg-white);
    overflow: hidden;
}

.screenshots-carousel {
    position: relative;
    overflow: hidden;
}

.screenshots-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 24px;
    padding: 20px 0;
}

.screenshot-item {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 200px;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--border);
    transition: all var(--transition);
}

.screenshot-img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(14, 165, 233, 0.2);
}

.screenshots-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.screenshot-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-primary);
}

.screenshot-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.screenshots-dots {
    display: flex;
    gap: 8px;
}

.screenshots-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.screenshots-dots .dot.active {
    background: var(--gradient-main);
    width: 28px;
    border-radius: 5px;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card-popular {
    border: 2px solid transparent;
    background: linear-gradient(var(--bg-white), var(--bg-white)) padding-box,
                var(--gradient-main) border-box;
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.pricing-card-popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 24px;
    background: var(--gradient-main);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    letter-spacing: 0.5px;
}

.pricing-header {
    margin-bottom: 20px;
    padding-top: 8px;
}

.pricing-plan-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pricing-ledger-count {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-price {
    margin-bottom: 28px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.price-currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 8px;
}

.price-amount {
    font-size: 56px;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: -2px;
}

.price-period {
    font-size: 14px;
    color: var(--text-secondary);
    align-self: flex-end;
    margin-bottom: 8px;
    font-weight: 500;
}

.pricing-features-list {
    text-align: left;
    margin-bottom: 28px;
}

.pricing-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.pricing-features-list li:last-child {
    border-bottom: none;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    padding: 28px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 60px;
    font-weight: 900;
    color: rgba(14, 165, 233, 0.08);
    line-height: 1;
    font-family: Georgia, serif;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.review-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.review-info strong {
    font-size: 14px;
    color: var(--text-primary);
    display: block;
}

.review-info span {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.faq-left {
    position: sticky;
    top: 100px;
    display: flex;
    justify-content: center;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-white);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(14, 165, 233, 0.2);
}

.faq-item.active {
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--blue);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--text-muted);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== VIDEO PLAYER STYLES ===== */
.video-container {
    position: relative;
    max-width: 450px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px var(--border);
    background: #0a1628;
    cursor: pointer;
}

.video-thumb-img {
    display: block;
    width: 100%;
    height: auto;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 15, 30, 0.35);
    z-index: 2;
    transition: background 0.3s ease;
}

.video-container:hover .video-overlay {
    background: rgba(0, 15, 30, 0.2);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
}

.video-play-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
}

.video-play-icon svg {
    margin-left: 3px;
}

.video-play-btn:hover .video-play-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.5);
}

.video-play-ripple {
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(14, 165, 233, 0.3);
    border-radius: 50%;
    animation: videoRipple 2s ease-out infinite;
}

.video-play-ripple-2 {
    animation-delay: 1s;
}

@keyframes videoRipple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.video-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 3;
    animation: videoCaptionFloat 3s ease-in-out infinite;
}

@keyframes videoCaptionFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-4px); }
}

/* ===== VIDEO MODAL ===== */
.video-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal {
    position: relative;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.video-modal-overlay.active .video-modal {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: background 0.25s ease;
    z-index: 2;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.video-modal-body {
    width: 100%;
    height: 100%;
}

.video-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(14, 165, 233, 0.1);
    top: -20%;
    right: -10%;
}

.cta-shape-2 {
    width: 350px;
    height: 350px;
    background: rgba(6, 214, 160, 0.08);
    bottom: -15%;
    left: -5%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.cta-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    padding: 60px 0 0;
    color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.3);
    color: var(--blue);
    transform: translateY(-2px);
}

.footer-links-col h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

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

.footer-links-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

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

.footer-playstore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: var(--transition);
    margin-bottom: 20px;
}

.footer-playstore:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-playstore small {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-playstore strong {
    font-size: 14px;
    color: #fff;
    display: block;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact a:hover {
    color: var(--accent);
}

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

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

/* ===== SCROLL ANIMATIONS ===== */
/* Content is always visible. Animations are purely additive — they play once on scroll. */

@keyframes animFadeUp {
    from { opacity: 0; transform: translateY(40px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes animFadeRight {
    from { opacity: 0; transform: translateX(-40px) scale(0.98); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes animFadeLeft {
    from { opacity: 0; transform: translateX(40px) scale(0.98); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes animFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes animZoomIn {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

[data-animate].animated[data-animate="fade-up"] {
    animation: animFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
[data-animate].animated[data-animate="fade-right"] {
    animation: animFadeRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
[data-animate].animated[data-animate="fade-left"] {
    animation: animFadeLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
[data-animate].animated[data-animate="fade-in"] {
    animation: animFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
[data-animate].animated[data-animate="zoom-in"] {
    animation: animZoomIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    [data-animate].animated {
        animation: none !important;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

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

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-visual {
        order: -1;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        padding-top: 0;
        height: 40px;
        width: auto;
    }

    .screenshot-item {
        flex: 0 0 calc(50% - 12px);
    }

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-card-popular {
        transform: scale(1.02);
    }

    .pricing-card-popular:hover {
        transform: scale(1.02) translateY(-8px);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .faq-left {
        position: static;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logo-image {
        width: 143px;
        height: 25px;
    }

    /* ===== SIDEBAR OVERLAY ===== */
    .sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 10, 20, 0.6);
        backdrop-filter: blur(4px);
        z-index: 1100;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* ===== SIDEBAR (MOBILE NAV) ===== */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(180deg, #001a2e 0%, #00243d 50%, #001a2e 100%);
        flex-direction: column;
        padding: 0;
        gap: 0;
        z-index: 1200;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -16px 0 48px rgba(0, 0, 0, 0.4);
        overflow-y: auto;
        overscroll-behavior: contain;
        display: flex;
    }

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

    /* Sidebar Header */
    .sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        flex-shrink: 0;
        gap: 12px;
    }

    .sidebar-logo {
        display: flex;
        flex: 1;
        min-width: 0;
    }

    .sidebar-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.7);
        cursor: pointer;
        transition: all 0.25s ease;
        flex-shrink: 0;
        margin-left: auto;
    }

    .sidebar-close:hover {
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
    }

    /* Sidebar Nav List */
    .sidebar-nav-list {
        display: flex;
        flex-direction: column;
        padding: 12px 16px;
        gap: 2px;
        flex: 0 0 auto;
        list-style: none;
    }

    .sidebar-nav-list li {
        list-style: none;
    }

    .nav-link {
        width: 100%;
        padding: 14px 16px;
        font-size: 15px;
        font-weight: 500;
        border-radius: 10px;
        color: rgba(255, 255, 255, 0.7);
        transition: all 0.25s ease;
        border-bottom: none;
        display: flex;
        align-items: center;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
    }

    .nav-link.active {
        background: rgba(14, 165, 233, 0.15);
        color: #fff;
        font-weight: 600;
        position: relative;
    }

    .nav-link.active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 20px;
        background: var(--accent-blue);
        border-radius: 0 3px 3px 0;
    }

    /* Sidebar Footer */
    .sidebar-footer {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 16px 24px 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        flex-shrink: 0;
    }

    .sidebar-lang-switch {
        display: none;
    }

    .sidebar-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .sidebar-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px !important;
        font-size: 14px !important;
    }

    .sidebar-btn.btn-outline {
        color: #fff;
        border-color: rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.06);
    }

    .sidebar-btn.btn-outline:hover {
        border-color: rgba(255, 255, 255, 0.4);
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }

    .nav-actions {
        display: none;
    }

    .nav-right {
        gap: 8px;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 80px;
        min-height: auto;
    }

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

    .hero-title .gradient-text {
        font-size: 38px;
    }

    .float-card {
        display: none;
    }

    .phone-frame {
        width: 240px;
    }

    .phone-screen {
        min-height: 400px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-item {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 28px;
    }

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

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

    .screenshot-item {
        flex: 0 0 calc(100% - 0px);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

    .pricing-card-popular {
        transform: none;
    }

    .pricing-card-popular:hover {
        transform: translateY(-8px);
    }

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

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

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

    .section-header {
        margin-bottom: 40px;
    }

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

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

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

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-ctas .btn-lg {
        padding: 14px 24px;
        font-size: 14px;
    }

    .step-card {
        padding: 28px 20px;
    }

    .pricing-card {
        padding: 28px 20px;
    }

    .price-amount {
        font-size: 44px;
    }

    .cta-buttons .btn-lg {
        width: 100%;
    }
}

/* ===== SELECTION COLOR ===== */
::selection {
    background: rgba(14, 165, 233, 0.2);
    color: var(--primary);
}

/* ===== SMOOTH SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ===== LEGAL / INNER PAGES ===== */

.navbar-inner {
    background: rgba(0, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.inner-hero {
    padding: 140px 0 50px;
    background: var(--gradient-hero);
    text-align: center;
}

.inner-hero-title {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.inner-hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.legal-section {
    padding: 60px 0 80px;
    background: var(--bg);
}

.legal-section .container {
    max-width: 800px;
}

.legal-page {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: var(--bg);
}

.legal-page .container {
    max-width: 800px;
}

.legal-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.legal-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.legal-header .legal-updated {
    font-size: 14px;
    color: var(--text-muted);
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin: 32px 0 12px;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 8px;
}

.legal-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    margin: 12px 0 20px 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--accent-blue);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--accent);
}

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Contact page */
.contact-section {
    padding: 60px 0 80px;
    min-height: 100vh;
    background: var(--bg);
}

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

.contact-info h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-method:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.08);
    transform: translateY(-2px);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(6, 214, 160, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent-blue);
}

.contact-method h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-method p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.contact-method a {
    font-size: 15px;
    color: var(--accent-blue);
    font-weight: 500;
}

.contact-method a:hover {
    color: var(--accent);
}

.contact-form-card {
    background: #fff;
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.contact-form-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: var(--gradient-main);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}

/* Form Alert Messages */
.form-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
}

.form-alert-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.form-alert p {
    margin: 0;
}

.form-alert-success {
    background: rgba(6, 214, 160, 0.1);
    border: 1px solid rgba(6, 214, 160, 0.3);
    color: #047857;
}

.form-alert-success .form-alert-icon {
    color: #059669;
}

.form-alert-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #b91c1c;
}

.form-alert-error .form-alert-icon {
    color: #dc2626;
}

@media (max-width: 768px) {
    .inner-hero {
        padding: 120px 0 36px;
    }

    .inner-hero-title {
        font-size: 28px;
    }

    .inner-hero-subtitle {
        font-size: 14px;
    }

    .legal-section {
        padding: 40px 0 60px;
    }

    .legal-header h1 {
        font-size: 28px;
    }

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

    .contact-info h1 {
        font-size: 28px;
    }
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
