/* ============================================
   HISAB BANAO - COMPLETE STYLE SHEET
   Fully Responsive | 25+ Languages | RTL Support
   ============================================ */

/* CSS Variables */
:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #8b5cf6;
    --cyan: #06b6d4;
    --green: #22c55e;
    --orange: #f97316;
    --red: #ef4444;
    --pink: #ec4899;
    --purple: #a855f7;

    --bg-dark: #0f0f1a;
    --bg-card: rgba(15, 15, 30, 0.8);
    --bg-card-hover: rgba(25, 25, 50, 0.9);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-arabic: 'Noto Sans Arabic', 'Inter', sans-serif;
    --font-hindi: 'Noto Sans Devanagari', 'Inter', sans-serif;
    --font-urdu: 'Noto Nastaliq Urdu', 'Noto Sans Arabic', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
    max-width: 100vw;
}

/* RTL Support */
[dir="rtl"] {
    font-family: var(--font-arabic);
}

[dir="rtl"][lang="ur"] {
    font-family: var(--font-urdu);
}

/* Animated Background */
.animated-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #0f0f1a 100%);
}

/* ============================================
   PWA BANNERS & NOTIFICATIONS
   ============================================ */

/* PWA Install & Update Banner */
.pwa-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(139, 92, 246, 0.95));
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 0.75rem 1rem;
    z-index: 10001;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4), 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 90vw;
    width: auto;
}

.pwa-update-banner {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(6, 182, 212, 0.95));
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.4), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.pwa-banner-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pwa-banner-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.pwa-banner-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    color: white;
    min-width: 140px;
}

.pwa-banner-text strong {
    font-size: 0.9375rem;
    font-weight: 600;
}

.pwa-banner-text span {
    font-size: 0.75rem;
    opacity: 0.9;
}

.pwa-banner .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    border-radius: 8px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: 600;
    transition: var(--transition);
}

.pwa-banner .btn-sm:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.02);
}

.pwa-close-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.pwa-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Offline Indicator */
.offline-indicator {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(239, 68, 68, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10002;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* PWA Banner Mobile Responsive */
@media (max-width: 480px) {
    .pwa-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        transform: none;
        max-width: none;
        width: auto;
        padding: 0.75rem;
        border-radius: 12px;
    }

    .pwa-banner-content {
        gap: 0.5rem;
    }

    .pwa-banner-icon {
        width: 36px;
        height: 36px;
    }

    .pwa-banner-icon svg {
        width: 18px;
        height: 18px;
    }

    .pwa-banner-text {
        flex: 1;
        min-width: 100px;
    }

    .pwa-banner-text strong {
        font-size: 0.8125rem;
    }

    .pwa-banner-text span {
        font-size: 0.6875rem;
    }

    .pwa-banner .btn-sm {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }

    .pwa-close-btn {
        width: 28px;
        height: 28px;
    }

    .offline-indicator {
        top: 65px;
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: blob-float 20s ease-in-out infinite;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(139, 92, 246, 0.3));
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(59, 130, 246, 0.3));
    top: 50%;
    right: -150px;
    animation-delay: -7s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.2));
    bottom: -100px;
    left: 30%;
    animation-delay: -14s;
}

@keyframes blob-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -50px) scale(1.1);
    }

    50% {
        transform: translate(-30px, 30px) scale(0.95);
    }

    75% {
        transform: translate(-50px, -20px) scale(1.05);
    }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.noise-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Desktop Nav */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    border: none;
    background: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
}

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

.nav-link.active {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    margin-left: 0.5rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    max-height: 400px;
    background: rgba(15, 15, 30, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 9500;
}

.lang-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 9500;
}

[dir="rtl"] .lang-menu {
    right: auto;
    left: 0;
}

.lang-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.lang-search input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 0.875rem;
    outline: none;
}

.lang-search input::placeholder {
    color: var(--text-muted);
}

.lang-list {
    max-height: 340px;
    overflow-y: auto;
    padding: 0.5rem;
}

.lang-list::-webkit-scrollbar {
    width: 6px;
}

.lang-list::-webkit-scrollbar-track {
    background: transparent;
}

.lang-list::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 3px;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    color: var(--text-primary);
}

[dir="rtl"] .lang-item {
    text-align: right;
}

.lang-item:hover {
    background: var(--glass);
}

.lang-item.active {
    background: rgba(59, 130, 246, 0.15);
}

.lang-code {
    width: 32px;
    height: 32px;
    background: var(--glass);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.lang-name {
    flex: 1;
    font-size: 0.875rem;
}

.lang-check {
    color: var(--green);
    opacity: 0;
}

.lang-item.active .lang-check {
    opacity: 1;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    cursor: pointer;
    z-index: 100000;
    position: relative;
}

.hamburger .bar {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

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

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 30, 0.99);
    backdrop-filter: blur(25px);
    padding: 1.5rem;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 99999;
}

.mobile-menu.open {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 99999;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.mobile-nav-link {
    padding: 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

[dir="rtl"] .mobile-nav-link {
    text-align: right;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--primary);
}

.mobile-lang-section {
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.mobile-lang-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.mobile-lang-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.mobile-lang-search input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 0.875rem;
    outline: none;
}

.mobile-lang-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.mobile-lang-item {
    padding: 0.75rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-lang-item:hover {
    background: var(--bg-card-hover);
}

.mobile-lang-item.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--primary);
}

.mobile-lang-item .code {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.mobile-lang-item .name {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   MAIN CONTENT & VIEWS
   ============================================ */
.main-content {
    padding-top: 60px;
    min-height: calc(100vh - 60px);
    position: relative;
    z-index: 1;
}

.view {
    display: none;
}

.view.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
    width: 100%;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--cyan), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: var(--glass);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Version Dropdown */
.version-dropdown {
    position: relative;
}

.version-text-short {
    display: none;
}

.chevron {
    transition: transform 0.3s;
}

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

.version-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 280px;
    max-width: calc(100vw - 2rem);
    background: rgba(15, 15, 30, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 9500;
}

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

[dir="rtl"] .version-menu {
    left: auto;
    right: 0;
}

.version-header {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--glass-border);
}

.version-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.version-item:hover {
    background: var(--glass);
}

.version-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.version-badge.v2 {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.version-badge.v1 {
    background: var(--glass);
    color: var(--text-secondary);
}

.version-info {
    flex: 1;
}

.version-name {
    font-size: 0.875rem;
    font-weight: 500;
}

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

/* Phone Mockup */
.hero-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    isolation: isolate;
}

.phone-frame {
    width: 280px;
    height: 560px;
    max-width: 100%;
    background: linear-gradient(145deg, #1a1a2e, #0f0f1a);
    border-radius: 40px;
    padding: 12px;
    position: relative;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.5),
        0 30px 60px -30px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: phone-float 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes phone-float {

    0%,
    100% {
        transform: translateY(0) rotateX(5deg) rotateY(-5deg);
    }

    50% {
        transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
    }
}

.phone-buttons {
    position: absolute;
    background: #2a2a3e;
    border-radius: 2px;
}

.phone-buttons.left-1 {
    left: -3px;
    top: 100px;
    width: 3px;
    height: 30px;
}

.phone-buttons.left-2 {
    left: -3px;
    top: 150px;
    width: 3px;
    height: 60px;
}

.phone-buttons.right {
    right: -3px;
    top: 120px;
    width: 3px;
    height: 50px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1e1e32, #12121f);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
}

.phone-app-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.phone-icons {
    display: flex;
    gap: 0.5rem;
}

.phone-icon {
    width: 20px;
    height: 20px;
    background: var(--glass);
    border-radius: 6px;
}

.phone-content {
    flex: 1;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.phone-card {
    background: var(--glass);
    border-radius: 12px;
    padding: 0.75rem;
}

.phone-card.main-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(59, 130, 246, 0.3);
    margin-bottom: 0.5rem;
}

.card-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.card-info {
    flex: 1;
}

.card-label {
    font-size: 0.625rem;
    color: var(--text-muted);
}

.card-amount {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--green);
}

.phone-card.list-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.item-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 600;
}

.item-avatar.orange {
    background: var(--orange);
}

.item-avatar.purple {
    background: var(--purple);
}

.item-avatar.pink {
    background: var(--pink);
}

.item-name {
    flex: 1;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.item-amount {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--red);
}

.phone-fab {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 300;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    border-radius: 2px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.feature-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon.cyan {
    background: rgba(6, 182, 212, 0.15);
    color: var(--cyan);
}

.feature-icon.blue {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
}

.feature-icon.green {
    background: rgba(34, 197, 94, 0.15);
    color: var(--green);
}

.feature-icon.orange {
    background: rgba(249, 115, 22, 0.15);
    color: var(--orange);
}

.feature-icon.purple {
    background: rgba(168, 85, 247, 0.15);
    color: var(--purple);
}

.feature-icon.red {
    background: rgba(239, 68, 68, 0.15);
    color: var(--red);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ============================================
   INSTALLATION SECTION
   ============================================ */
.installation {
    padding: 6rem 0;
}

.install-timeline {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary), var(--green));
    transform: translateX(-50%);
}

.install-step {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.install-step.step-left .step-content {
    text-align: right;
}

[dir="rtl"] .install-step.step-left .step-content {
    text-align: left;
}

.install-step.step-right .step-content {
    text-align: left;
}

[dir="rtl"] .install-step.step-right .step-content {
    text-align: right;
}

.step-spacer {
    width: 100%;
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.step-icon.blue {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.step-icon.purple {
    background: linear-gradient(135deg, var(--secondary), var(--purple));
    color: white;
}

.step-icon.green {
    background: linear-gradient(135deg, var(--green), #16a34a);
    color: white;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.step-card h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 4rem 0;
}

.contact-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
}

.contact-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    pointer-events: none;
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-desc {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--glass);
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Contact Success Overlay */
.contact-success {
    position: absolute;
    inset: 0;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.contact-success.show {
    opacity: 1;
    visibility: visible;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin-bottom: 1.5rem;
    animation: success-pop 0.5s ease-out;
}

@keyframes success-pop {
    0% {
        transform: scale(0);
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.contact-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.contact-success p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-section {
    padding: 4rem 0;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.about-card:hover {
    border-color: var(--primary);
}

.developer-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-color: rgba(59, 130, 246, 0.3);
}

.dev-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.dev-info h2 {
    font-size: 0.875rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.dev-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

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

.dev-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

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

.about-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.about-icon.primary {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
}

.about-icon.green {
    background: rgba(34, 197, 94, 0.15);
    color: var(--green);
}

.about-text h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.about-footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

.about-footer .heart {
    color: var(--red);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

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

/* ============================================
   GUIDE PAGE
   ============================================ */
.guide-section {
    padding: 4rem 0;
}

.guide-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.guide-icon-box {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
}

.guide-card:hover {
    border-color: var(--primary);
}

.guide-card.full-width {
    grid-column: 1 / -1;
}

.guide-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guide-card-title.primary {
    color: var(--primary);
}

.guide-card-title.green {
    color: var(--green);
}

.guide-card-title.orange {
    color: var(--orange);
}

.guide-card-title.cyan {
    color: var(--cyan);
}

.guide-card-title.purple {
    color: var(--purple);
}

.guide-card-title.red {
    color: var(--red);
}

.guide-box {
    background: var(--glass);
    border-radius: 12px;
    padding: 1rem;
}

.guide-box p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.guide-list {
    list-style: none;
    color: var(--text-secondary);
}

.guide-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.guide-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.voice-card {
    position: relative;
    overflow: hidden;
}

.voice-bg {
    position: absolute;
    right: -20px;
    bottom: -20px;
    color: rgba(6, 182, 212, 0.1);
}

.voice-content {
    position: relative;
    z-index: 1;
}

.voice-content h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--cyan);
    margin-bottom: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-dev {
    margin-top: 0.5rem;
    color: var(--text-muted);
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-links button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links button:hover {
    color: var(--primary);
}

.footer-links span {
    color: var(--text-muted);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out forwards;
}

.animate-fade-up.delay-1 {
    animation-delay: 0.1s;
}

.animate-fade-up.delay-2 {
    animation-delay: 0.2s;
}

.animate-fade-up.delay-3 {
    animation-delay: 0.3s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
    transition-delay: 0.4s;
}

.animate-on-scroll.delay-5 {
    transition-delay: 0.5s;
}

.animate-on-scroll.delay-6 {
    transition-delay: 0.6s;
}

/* ============================================
   RESPONSIVE DESIGN - ALL DEVICES
   ============================================ */

/* Prevent horizontal scroll */
html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Large tablets and small laptops */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        padding: 0 1.5rem;
    }

    .hero-content {
        max-width: 100%;
        order: 1;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-phone {
        order: 2;
        max-width: 260px;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
        border-radius: 36px;
    }

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

/* Tablets */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
        z-index: 100000;
    }

    .mobile-menu {
        display: block;
        z-index: 99999;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0 3rem;
    }

    .hero-container {
        gap: 2rem;
        padding: 0 1rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-phone {
        order: 2;
        max-width: 220px;
    }

    .phone-frame {
        width: 200px;
        height: 400px;
        border-radius: 32px;
        padding: 10px;
    }

    .phone-screen {
        border-radius: 24px;
    }

    .phone-fab {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

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

    .hero-note {
        font-size: 0.8125rem;
    }

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

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

    /* Timeline Mobile Fix - IMPORTANT */
    .install-timeline {
        padding-left: 50px;
        margin-top: 2rem;
    }

    .timeline-line {
        left: 24px;
        transform: translateX(0);
    }

    .install-step {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 2rem;
        position: relative;
    }

    .install-step .step-spacer {
        display: none;
    }

    .step-icon {
        position: absolute;
        left: -50px;
        top: 0;
        width: 48px;
        height: 48px;
    }

    .step-content {
        width: 100%;
    }

    .install-step.step-left .step-content,
    .install-step.step-right .step-content {
        text-align: left !important;
        padding-left: 0;
    }

    .step-card {
        width: 100%;
    }

    [dir="rtl"] .install-timeline {
        padding-left: 0;
        padding-right: 50px;
    }

    [dir="rtl"] .timeline-line {
        left: auto;
        right: 24px;
    }

    [dir="rtl"] .step-icon {
        left: auto;
        right: -50px;
    }

    [dir="rtl"] .install-step.step-left .step-content,
    [dir="rtl"] .install-step.step-right .step-content {
        text-align: right !important;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 1.5rem;
    }

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

    .dev-links {
        justify-content: center;
    }

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

    .guide-card.full-width {
        grid-column: 1;
    }

    /* Version dropdown positioning for mobile */
    .version-dropdown {
        position: static;
    }

    .version-menu {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 60vh;
        overflow-y: auto;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.5rem 0.75rem;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .logo-text {
        font-size: 0.875rem;
    }

    .hero {
        padding: 1rem 0 1.5rem;
        min-height: auto;
    }

    .hero-container {
        gap: 1.5rem;
        padding: 0 0.75rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-phone {
        order: 2;
        max-width: 180px;
    }

    .hero-title {
        font-size: 1.375rem;
        margin-bottom: 0.75rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .version-text-full {
        display: none;
    }

    .version-text-short {
        display: inline;
    }

    .phone-frame {
        width: 160px;
        height: 320px;
        border-radius: 28px;
        padding: 8px;
    }

    .phone-screen {
        border-radius: 22px;
    }

    .phone-header {
        padding: 0.5rem 0.625rem;
    }

    .phone-app-name {
        font-size: 0.6875rem;
    }

    .phone-content {
        padding: 0.5rem;
        gap: 0.375rem;
    }

    .phone-card {
        padding: 0.5rem;
        border-radius: 8px;
    }

    .card-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.625rem;
    }

    .card-info {
        flex: 1;
        min-width: 0;
    }

    .card-label {
        font-size: 0.4375rem;
    }

    .card-amount {
        font-size: 0.75rem;
    }

    .phone-card.list-item {
        padding: 0.375rem;
    }

    .item-avatar {
        width: 20px;
        height: 20px;
        font-size: 0.4375rem;
    }

    .item-name,
    .item-amount {
        font-size: 0.5625rem;
    }

    .phone-fab {
        width: 30px;
        height: 30px;
        bottom: 12px;
        right: 12px;
        font-size: 0.875rem;
    }

    .phone-buttons.left-1 {
        top: 50px;
        height: 18px;
    }

    .phone-buttons.left-2 {
        top: 78px;
        height: 35px;
    }

    .phone-buttons.right {
        top: 68px;
        height: 30px;
    }

    .features,
    .installation,
    .contact {
        padding: 2rem 0;
    }

    .section-container {
        padding: 0 0.75rem;
    }

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

    .section-header {
        margin-bottom: 1.5rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 1rem;
    }

    .feature-title {
        font-size: 0.9375rem;
    }

    .feature-desc {
        font-size: 0.8125rem;
    }

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

    .page-title {
        font-size: 1.375rem;
    }

    .page-subtitle {
        font-size: 0.9375rem;
    }

    .about-card {
        padding: 1rem;
    }

    .dev-avatar {
        width: 56px;
        height: 56px;
        font-size: 1.125rem;
    }

    .dev-name {
        font-size: 1.125rem;
    }

    .about-text h2 {
        font-size: 1rem;
    }

    .about-text p {
        font-size: 0.8125rem;
    }

    .guide-card {
        padding: 0.875rem;
    }

    .guide-card-title {
        font-size: 0.875rem;
    }

    .contact-card {
        padding: 1rem;
    }

    /* Installation timeline for small screens */
    .install-timeline {
        padding-left: 45px;
    }

    .timeline-line {
        left: 20px;
    }

    .step-icon {
        width: 40px;
        height: 40px;
        left: -45px;
    }

    .step-card {
        padding: 0.875rem;
    }

    .step-card h3 {
        font-size: 0.8125rem;
    }

    .step-card p {
        font-size: 0.75rem;
    }

    .footer {
        padding: 1.25rem 0;
    }

    .footer p {
        font-size: 0.75rem;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .footer-links button {
        font-size: 0.75rem;
    }
}

/* Extra small devices (320px and smaller) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.25rem;
    }

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

    .hero-phone {
        max-width: 150px;
    }

    .phone-frame {
        width: 140px;
        height: 280px;
        border-radius: 24px;
        padding: 6px;
    }

    .phone-screen {
        border-radius: 20px;
    }

    .phone-header {
        padding: 0.375rem 0.5rem;
    }

    .phone-app-name {
        font-size: 0.625rem;
    }

    .phone-fab {
        width: 26px;
        height: 26px;
        bottom: 10px;
        right: 10px;
        font-size: 0.75rem;
    }

    .logo-text {
        font-size: 0.8125rem;
    }

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

    .btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
    }

    .install-timeline {
        padding-left: 40px;
    }

    .step-icon {
        width: 36px;
        height: 36px;
        left: -40px;
    }

    .timeline-line {
        left: 18px;
    }
}

/* Very small devices (280px - like Galaxy Fold) */
@media (max-width: 300px) {
    .hero-phone {
        max-width: 130px;
    }

    .phone-frame {
        width: 120px;
        height: 240px;
        border-radius: 20px;
        padding: 5px;
    }

    .hero-title {
        font-size: 1.125rem;
    }

    .logo-text {
        font-size: 0.75rem;
    }

    .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
}

/* Print Styles */
@media print {

    .animated-bg,
    .navbar,
    .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}