/*
Theme Name: VaultSio
Theme URI: https://vaultsio.com
Author: VaultSio
Author URI: https://vaultsio.com
Description: Official VaultSio website theme — Smart Expense Tracker & Budget App. Pixel-perfect conversion of the static VaultSio website into a WordPress theme with dark mode, animated hero, 3D screenshot carousel, and responsive design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vaultsio
Tags: one-page, app-landing, dark-mode, responsive, custom-colors
*/

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

:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --secondary: #10B981;
    --accent: #8B5CF6;
    --accent-light: #A78BFA;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border: #E2E8F0;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --gradient-main: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --gradient-vibrant: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #A78BFA 100%);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --bg-light: #0F172A;
    --bg-white: #1E293B;
    --border: #334155;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* System Preference Dark Mode */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --text-primary: #F1F5F9;
        --text-secondary: #94A3B8;
        --bg-light: #0F172A;
        --bg-white: #1E293B;
        --border: #334155;
        --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
        --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

/* ============================================================
   Navigation
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(30, 41, 59, 0.98);
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    font-size: 28px;
}

.logo-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    background: var(--border);
    transform: scale(1.05);
}

.theme-toggle-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-toggle-icon {
    transform: rotate(180deg);
}

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

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 999;
    pointer-events: none;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 80%, #A78BFA 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 80%, #9333EA 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
    color: white;
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

[data-theme="dark"] .btn-secondary {
    background: rgba(51, 65, 85, 0.8);
    color: var(--text-primary);
}

[data-theme="dark"] .btn-secondary:hover {
    background: rgba(51, 65, 85, 1);
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 40%, #F3E8FF 70%, #F1F5F9 100%);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 40%, #1a1f35 70%, #0F172A 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.06) 50%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, rgba(167, 139, 250, 0.05) 50%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 320px;
    padding: 12px;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #A78BFA 100%);
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
    animation: float 6s ease-in-out infinite;
}

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

/* Fade-in animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-up.delay-1 { transition-delay: 0.1s; }
.fade-in-up.delay-2 { transition-delay: 0.2s; }
.fade-in-up.delay-3 { transition-delay: 0.3s; }

.app-screenshot {
    width: 100%;
    border-radius: 32px;
    display: block;
}

.phone-mockup-3d {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.phone-frame {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #A78BFA 100%);
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s ease;
}

.phone-shadow {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border-radius: 40px;
    filter: blur(20px);
    z-index: -1;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
    transition: background 0.3s ease;
}

[data-theme="dark"] .floating-card {
    background: rgba(30, 41, 59, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.floating-card.card-1 {
    top: 10%;
    right: -100px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 15%;
    right: -80px;
    animation-delay: 1.5s;
}

.floating-card .card-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.floating-card .card-value {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.floating-card .card-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================================
   Features Section
   ============================================================ */
.features {
    padding: 100px 0;
    background: var(--bg-white);
    transition: background-color 0.3s ease;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-description {
    font-size: 20px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 32px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .feature-card {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border-color: rgba(51, 65, 85, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #10B981 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

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

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    transform: scale(1.05);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================================
   Screenshots Section
   ============================================================ */
.screenshots {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 50%, #F1F5F9 100%);
    transition: background 0.3s ease;
}

[data-theme="dark"] .screenshots {
    background: linear-gradient(135deg, #1E293B 0%, #1a1f35 50%, #0F172A 100%);
}

.screenshots-carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.screenshots-carousel {
    position: relative;
    height: 600px;
    perspective: 1500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-card {
    position: absolute;
    width: 280px;
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateX(0) scale(0.8);
    pointer-events: none;
}

[data-theme="dark"] .screenshot-card {
    background: rgba(30, 41, 59, 0.95);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.screenshot-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 3;
    pointer-events: auto;
}

.screenshot-card.prev {
    opacity: 0.5;
    transform: translateX(-350px) scale(0.85) rotateY(25deg);
    z-index: 2;
    pointer-events: auto;
}

.screenshot-card.next {
    opacity: 0.5;
    transform: translateX(350px) scale(0.85) rotateY(-25deg);
    z-index: 2;
    pointer-events: auto;
}

.screenshot-phone {
    width: 100%;
    margin-bottom: 16px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    padding: 8px;
}

.screenshot-phone img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.screenshot-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
    color: var(--text-primary);
}

.screenshot-desc {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    color: var(--primary);
}

[data-theme="dark"] .carousel-btn {
    background: var(--bg-white);
    border-color: var(--border);
    color: var(--primary);
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.carousel-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.dot.active {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    width: 32px;
    border-radius: 6px;
}

.dot:hover {
    background: var(--primary-light);
}

/* ============================================================
   Testimonials Section
   ============================================================ */
.testimonials {
    padding: 100px 0;
    background: var(--bg-white);
    transition: background-color 0.3s ease;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    padding: 32px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
}

[data-theme="dark"] .testimonial-card {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border-color: rgba(51, 65, 85, 0.3);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.15);
}

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

.stars {
    font-size: 20px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.testimonial-author {
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-title {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================================
   Download Section
   ============================================================ */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 60%, #7C3AED 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.download::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

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

.download-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.download-description {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: white;
    color: var(--text-primary);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .store-button {
    background: rgba(30, 41, 59, 0.95);
    color: #F1F5F9;
}

.store-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #FFFFFF 0%, #F3E8FF 100%);
    color: var(--text-primary);
}

[data-theme="dark"] .store-button:hover {
    background: rgba(30, 41, 59, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    color: #F1F5F9;
}

.store-text {
    text-align: left;
}

.store-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.store-name {
    font-size: 18px;
    font-weight: 700;
}

.download-note {
    font-size: 14px;
    opacity: 0.8;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    padding: 60px 0 32px;
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.5) 50%, transparent 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 48px;
}

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

.footer-description {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   Legal / Inner Page Styles
   ============================================================ */
.legal-page {
    padding: 140px 0 80px;
    min-height: 100vh;
    background: var(--bg-light);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .legal-content {
    background: var(--bg-white);
}

.legal-content h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.last-updated {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 14px;
}

.legal-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

.legal-content ul,
.legal-content ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

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

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.contact-header p {
    font-size: 20px;
    color: var(--text-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: white;
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .contact-form-wrapper {
    background: var(--bg-white);
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-light);
    transition: all 0.3s;
    font-family: inherit;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: var(--bg-white);
}

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

/* FAQs Page */
.faqs-page {
    padding: 140px 0 80px;
    min-height: 100vh;
    background: var(--bg-light);
}

.faqs-header {
    text-align: center;
    margin-bottom: 64px;
}

.faqs-header h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.faqs-header p {
    font-size: 20px;
    color: var(--text-secondary);
}

.faq-category {
    margin-bottom: 48px;
}

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

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .faq-item {
    background: var(--bg-white);
}

.faq-question {
    padding: 24px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
}

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

.faq-icon {
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--primary);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

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

.faq-answer-inner {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

/* Help Center Page */
.help-page {
    padding: 140px 0 80px;
    min-height: 100vh;
    background: var(--bg-light);
}

.help-hero {
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 60%, #7C3AED 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
    border-radius: 24px;
    margin-bottom: 60px;
}

.help-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.help-category-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
    display: block;
}

[data-theme="dark"] .help-category-card {
    background: var(--bg-white);
}

.help-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
    color: var(--primary);
}

.help-category-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.help-category-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

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

/* 404 Page */
.error-page {
    padding: 160px 0 80px;
    min-height: 100vh;
    text-align: center;
    background: var(--bg-light);
}

.error-code {
    font-size: 128px;
    font-weight: 800;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.error-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.error-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   Responsive Design
   ============================================================ */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .hero-title { font-size: 48px; }
    .hero-stats { gap: 32px; }
    .floating-card { display: none; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
    .mobile-menu-backdrop { display: block; }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active { left: 0; }

    .nav-links a {
        font-size: 18px;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .nav-cta { display: flex; gap: 8px; }
    .nav-cta .btn-primary { display: none; }

    .hero { padding: 100px 0 60px; }
    .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-text { order: 1; }
    .hero-image { order: 0; }
    .hero-title { font-size: 36px; }
    .hero-description { font-size: 16px; }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 32px;
    }

    .hero-buttons .btn-large { width: 100%; justify-content: center; }
    .hero-stats { justify-content: center; gap: 24px; flex-wrap: wrap; }
    .stat { text-align: center; }
    .phone-mockup-3d, .phone-mockup { max-width: 260px; }

    .section-title { font-size: 32px; }
    .section-description { font-size: 16px; }
    .features-grid { grid-template-columns: 1fr; gap: 24px; }

    .screenshots-carousel {
        position: relative;
        height: auto;
        perspective: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 8px 4px 20px;
        justify-content: flex-start;
    }

    .screenshot-card {
        position: relative;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        flex: 0 0 240px;
        scroll-snap-align: center;
        margin: 0 8px;
    }

    .screenshot-card.active,
    .screenshot-card.prev,
    .screenshot-card.next {
        opacity: 1;
        transform: none;
    }

    .carousel-btn, .carousel-dots { display: none; }
    .testimonials-grid { grid-template-columns: 1fr; gap: 24px; }

    .download { padding: 60px 0; }
    .download-title { font-size: 32px; }
    .download-description { font-size: 16px; }
    .download-buttons { flex-direction: column; align-items: stretch; width: 100%; }
    .store-button { width: 100%; justify-content: center; }

    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    .footer-links { grid-template-columns: repeat(2, 1fr); gap: 24px; }

    .contact-content { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 32px; }
    .legal-content { padding: 32px; }
    .legal-content h1 { font-size: 32px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .logo-text { font-size: 18px; }
    .hero { padding: 80px 0 40px; }
    .hero-badge { font-size: 12px; padding: 6px 16px; }
    .hero-title { font-size: 28px; line-height: 1.2; }
    .hero-description { font-size: 15px; }
    .btn-large { padding: 14px 24px; font-size: 15px; }
    .stat-number { font-size: 24px; }
    .stat-label { font-size: 12px; }
    .phone-mockup-3d, .phone-mockup { max-width: 220px; }
    .section-title { font-size: 28px; }
    .section-description { font-size: 15px; }
    .feature-icon-wrapper { width: 64px; height: 64px; }
    .feature-icon { font-size: 32px; }
    .feature-title { font-size: 18px; }
    .feature-description { font-size: 14px; }
    .screenshot-card { width: 220px; flex: 0 0 220px; }
    .download-title { font-size: 28px; }
    .download-description { font-size: 15px; }
    .store-button { padding: 14px 24px; }
    .store-name { font-size: 16px; }
    .footer-links { grid-template-columns: 1fr; }
    .error-code { font-size: 80px; }
    .error-title { font-size: 24px; }
}
