/* -------------------------------------------------------------
   Design System & Styling for "Liberar Espacio" Web App
   Theme: Blue, Green, and White (Clean, Minimal, Professional)
   ------------------------------------------------------------- */

/* Custom Fonts & Variable Definitions */
:root {
    /* Color Palette */
    --primary: #2563eb;       /* Trust Blue */
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary: #0f172a;     /* Dark Slate */
    --accent: #10b981;        /* Clean Green */
    --accent-hover: #059669;
    --accent-light: #ecfdf5;
    
    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0b0f19;
    
    /* Typography Colors */
    --text-main: #334155;
    --text-muted: #64748b;
    --text-dark: #0f172a;
    --text-white: #ffffff;
    
    /* UI Elements */
    --border-color: #e2e8f0;
    --border-light: rgba(226, 232, 240, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(37, 99, 235, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.06), 0 10px 10px -5px rgba(15, 23, 42, 0.03);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --shadow-glow-green: 0 8px 25px rgba(16, 185, 129, 0.25);
    --shadow-glow-blue: 0 8px 25px rgba(37, 99, 235, 0.2);
    
    /* Transition Curves */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s var(--ease-in-out);
    --transition-smooth: 0.4s var(--ease-out-expo);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
}

/* Utility Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-green { color: var(--accent); }
.text-blue { color: var(--primary); }
.text-warning { color: #f59e0b; }
.hidden { display: none !important; }

/* Abstract Decorative Background Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.65;
}

.bg-shape-1 {
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, rgba(16,185,129,0.05) 100%);
}

.bg-shape-2 {
    top: 800px;
    left: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, rgba(37,99,235,0.05) 100%);
}

.bg-shape-3 {
    bottom: -100px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, rgba(16,185,129,0.08) 100%);
}

/* Header & Sticky Glass Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-fast);
}

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

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.08));
}

.logo-blend {
    mix-blend-mode: multiply;
    border-radius: 50%;
    background: transparent;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

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

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

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

.nav-link-btn {
    text-decoration: none;
    color: var(--text-white);
    background-color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.65rem 1.3rem;
    border-radius: 50px;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.nav-link-btn:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blue);
}

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

/* Common Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow-blue);
}

.btn-secondary {
    background-color: var(--primary-light);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: #dbeafe;
    transform: translateY(-3px) scale(1.02);
}

.btn-success {
    background-color: var(--accent);
    color: var(--text-white);
}

.btn-success:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow-green);
}

/* Badges */
.badge {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.section-badge {
    display: inline-block;
    background-color: var(--accent-light);
    color: var(--accent);
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1rem;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

/* Section Common Headers */
.section-header {
    max-width: 650px;
    margin: 0 auto 3.5rem auto;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Section 1: Bienvenida (Hero) */
.hero-section {
    padding: 180px 0 100px 0;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s var(--ease-out-expo);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-main);
    font-weight: 400;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: floatAnimation 6s ease-in-out infinite;
}

.mockup-wrapper {
    width: 100%;
    max-width: 320px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--secondary);
    border: 10px solid var(--secondary);
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
    object-fit: cover;
}

/* Section 2: Qué hace la aplicación (Features) */
.features-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

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

.feature-card {
    background-color: var(--bg-primary);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

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

.feature-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.icon-blue { background-color: var(--primary-light); color: var(--primary); }
.icon-green { background-color: var(--accent-light); color: var(--accent); }
.icon-teal { background-color: #f0fdf4; color: #14b8a6; }
.icon-cyan { background-color: #ecfeff; color: #06b6d4; }
.icon-indigo { background-color: #e0e7ff; color: #6366f1; }

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

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

/* Simulator Section */
.simulator-section {
    padding: 100px 0;
}

.simulator-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.simulator-list {
    list-style: none;
    margin-top: 1.5rem;
}

.simulator-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
}

.list-icon {
    color: var(--accent);
    width: 20px;
    height: 20px;
}

.simulator-widget-box {
    background-color: var(--bg-dark);
    border-radius: 24px;
    box-shadow: var(--shadow-lg), 0 20px 50px rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.simulator-widget-header {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.widget-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 0.5rem;
    font-weight: 500;
}

.simulator-widget-body {
    padding: 3rem 2rem;
    min-height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
}

.sim-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    animation: fadeIn 0.4s ease-in-out;
}

.sim-circle-progress {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(var(--bg-dark) 60%, transparent 61%), conic-gradient(var(--primary) 0% 85%, rgba(255,255,255,0.1) 85% 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.2);
}

.sim-percent {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.sim-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.sim-status-text {
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Scanning Screen Styles */
.scanning-loader {
    width: 100px;
    height: 100px;
    position: relative;
    margin-bottom: 2rem;
}

.scanning-circle {
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 255, 255, 0.05);
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.scanning-search-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    color: var(--accent);
    animation: pulse 1.5s infinite ease-in-out;
}

.scanned-items-list {
    width: 100%;
    max-width: 300px;
    height: 40px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scanned-item {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    animation: slideUpText 1.5s infinite;
}

/* Ready Clean Screen */
.sim-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 350px;
    justify-content: center;
}

.sim-stat-box {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem;
    flex: 1;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    display: block;
    font-size: 1.85rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

/* Clean Done Checkmark */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem auto;
}

.check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid var(--accent);
}

.check-icon::after {
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    content: "";
}

.icon-line {
    height: 5px;
    background-color: var(--accent);
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.icon-line.line-tip {
    top: 46px;
    left: 19px;
    width: 25px;
    transform: rotate(45deg);
    animation: writeTip 0.4s ease-in-out;
}

.icon-line.line-long {
    top: 38px;
    left: 35px;
    width: 40px;
    transform: rotate(-45deg);
    animation: writeLong 0.4s ease-in-out;
}

.success-title {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

/* Sections 3, 4, 5: Informative Blocks */
.info-blocks-section {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

.info-blocks-container {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3.5rem;
    align-items: center;
}

.info-cards-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-cards-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-card {
    background-color: var(--bg-primary);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.info-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.featured-card {
    background: linear-gradient(135deg, var(--bg-primary) 50%, var(--accent-light) 100%);
    border-color: rgba(16, 185, 129, 0.2);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-icon svg {
    width: 32px;
    height: 32px;
}

.info-title {
    font-size: 1.35rem;
    letter-spacing: -0.3px;
}

.info-text {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.info-badge {
    align-self: flex-start;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
}

.info-badge.green {
    background-color: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.info-badge.blue {
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.info-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    gap: 0.35rem;
    transition: var(--transition-fast);
}

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

.link-arrow {
    width: 14px;
    height: 14px;
}

.info-image-column {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.privacy-illustration-card {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-primary);
    padding: 1rem;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: center;
    align-items: center;
}

.privacy-illustration-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-blue);
}

.privacy-illustration-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: cover;
}

/* Gallery / Screenshots Section Styling */
.gallery-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.gallery-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    background-color: var(--secondary);
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.96);
    transition: opacity 0.5s ease-in-out, transform 0.5s var(--ease-out-expo), visibility 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0) 100%);
    padding: 2.5rem 2rem 1.5rem 2rem;
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    z-index: 5;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    z-index: 10;
}

.carousel-control:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-glow-blue);
}

.carousel-control.prev {
    left: -26px;
}

.carousel-control.next {
    right: -26px;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.75rem;
}

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

.dot-item.active {
    width: 28px;
    border-radius: 10px;
    background-color: var(--accent);
}

/* Accordion: Política de Privacidad */
.policy-section {
    padding: 60px 0 100px 0;
}

.policy-accordion-box {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.accordion-trigger:hover {
    background-color: var(--bg-secondary);
}

.accordion-trigger-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.policy-external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: var(--primary);
    text-decoration: none;
    background-color: var(--primary-light);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.policy-external-link:hover {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow-blue);
}

.policy-link-icon {
    width: 13px;
    height: 13px;
}

.accordion-icon {
    vertical-align: middle;
    margin-right: 0.75rem;
    color: var(--primary);
    width: 24px;
    height: 24px;
}

.chevron-icon {
    transition: transform 0.4s var(--ease-out-expo);
    color: var(--text-muted);
}

.chevron-icon.rotate {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out-expo);
}

.accordion-body {
    padding: 0 2rem 2.5rem 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: -1px;
}

.accordion-body h3 {
    margin: 2rem 0 1rem 0;
    font-size: 1.35rem;
}

.accordion-body h4 {
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.accordion-body p {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.accordion-body a {
    color: var(--primary);
    text-decoration: underline;
}

.accordion-body a:hover {
    color: var(--primary-hover);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    position: relative;
}

.contact-container {
    display: flex;
    justify-content: center;
}

.contact-card {
    width: 100%;
    max-width: 650px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--bg-dark) 100%);
    color: var(--text-white);
    border-radius: 30px;
    padding: 3.5rem;
    text-align: center;
    box-shadow: var(--shadow-lg), 0 20px 40px rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-illustration {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-mail-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
}

.contact-title {
    color: var(--text-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.contact-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent);
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-glow-green);
}

.contact-email-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.support-hours {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Footer Styling */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4.5rem 0 3rem 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    width: 32px;
    height: 32px;
}

.footer-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

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

.footer-divider {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

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

/* Animations */
@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.05); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.5; }
}

@keyframes slideUpText {
    0%, 100% { transform: translateY(0); opacity: 1; }
    30% { transform: translateY(0); opacity: 1; }
    33% { transform: translateY(-20px); opacity: 0; }
    35% { transform: translateY(20px); opacity: 0; }
    38% { transform: translateY(0); opacity: 1; }
}

/* Success Checkmark Animation Keys */
@keyframes writeTip {
    0% { width: 0; left: 19px; top: 46px; }
    100% { width: 25px; left: 19px; top: 46px; }
}

@keyframes writeLong {
    0% { width: 0; left: 35px; top: 38px; }
    100% { width: 40px; left: 35px; top: 38px; }
}

/* Media Queries (Responsive Breakpoints) */

@media (max-width: 1024px) {
    .hero-container {
        gap: 2rem;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    .info-blocks-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }
    .featured-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    /* Navigation Menu Toggle */
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
        padding: 2rem 1.5rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-link::after { display: none; }
    .nav-link-btn { text-align: center; }

    /* Layout Adaptations */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-image-container {
        order: -1;
    }
    
    .simulator-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .info-cards-row {
        grid-template-columns: 1fr;
    }
    
    .carousel-control {
        width: 44px;
        height: 44px;
    }
    .carousel-control.prev {
        left: 10px;
    }
    .carousel-control.next {
        right: 10px;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Splash Screen Overlay */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out;
}

.splash-logo {
    position: relative;
    width: 300px;
    height: 300px;
    mix-blend-mode: screen;
    perspective: 1000px;
}

.splash-piece {
    position: absolute;
    background-image: url('assets/new_logo.jpg');
    background-size: 300px 300px;
    background-repeat: no-repeat;
    opacity: 0;
    transition: transform 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 1.5s ease;
}

/* Policy Logo with Spinning Lights */
.policy-logo-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 3rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.spinning-lights {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, #ff3b30 25%, transparent 50%, #007aff 75%, transparent 100%);
    animation: spin-lights 4s linear infinite;
    filter: blur(15px);
    opacity: 0.8;
}

@keyframes spin-lights {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.policy-logo {
    position: relative;
    width: 230px;
    height: 230px;
    background-color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.policy-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: screen;
    animation: float-logo 3s ease-in-out infinite alternate;
}

@keyframes float-logo {
    0% { transform: scale(0.98) translateY(0px); }
    100% { transform: scale(1.03) translateY(-5px); }
}
