/*
Theme Name: Autofy Live
Theme URI: https://autofy.live
Author: Autofy Inc.
Author URI: https://autofy.live
Description: Autofy.live marketing website - Glacier Dark glassmorphism design
Version: 1.0.0
License: Proprietary
Text Domain: autofy-live
*/

/* ============================================================
   Glacier Dark Design System
   ============================================================ */

:root {
    --bg: #0a0e1a;
    --surface: #0f1524;
    --surface-container: #141c2e;
    --surface-variant: #1a2438;
    --primary: #7dd3fc;
    --tertiary: #c8a0f0;
    --secondary: #88b4cc;
    --on-surface: #e0e8f0;
    --on-surface-variant: #a0b4c4;
    --on-primary: #001f2e;
    --outline-variant: #2a3a48;
    --primary-container: #0e4d6e;
    --error: #ff6b6b;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--on-surface);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Glass cards */
.glass-card {
    background: rgba(15, 21, 36, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(125, 211, 252, 0.1);
}

.glass-card-elevated {
    background: rgba(20, 28, 46, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(125, 211, 252, 0.15);
    box-shadow: 0 0 30px rgba(125, 211, 252, 0.05);
}

/* Frozen gradient */
.frozen-gradient {
    background: radial-gradient(circle at center, rgba(125, 211, 252, 0.1) 0%, transparent 70%);
}

/* Hero screenshot glow - applied as inline box-shadow on .glass-card-elevated
   in front-page.php (Tailwind CDN overrides stylesheet rules, so inline is required)
   Values: 0 0 80px 30px rgba(125,211,252,0.35), 0 0 160px 80px rgba(125,211,252,0.2),
           0 0 250px 120px rgba(125,211,252,0.1) */


/* Material symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: middle;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0e1a; }
::-webkit-scrollbar-thumb { background: #1a2438; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #7dd3fc; }

/* Selection */
::selection {
    background: rgba(125, 211, 252, 0.3);
    color: #7dd3fc;
}

/* Language switcher */
.lang-dropdown {
    position: relative;
    display: inline-block;
}
.lang-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 140px;
    z-index: 100;
}
.lang-dropdown:hover .lang-dropdown-content,
.lang-dropdown.active .lang-dropdown-content {
    display: block;
}

/* Mobile menu */
.mobile-menu {
    display: none;
}
.mobile-menu.active {
    display: block;
}

/* FAQ accordion */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 500px;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Blog prose */
.prose-dark h2 { color: var(--on-surface); font-size: 1.875rem; font-weight: 700; margin-top: 3rem; margin-bottom: 1.5rem; }
.prose-dark h3 { color: var(--on-surface); font-size: 1.5rem; font-weight: 600; margin-top: 2rem; margin-bottom: 1rem; }
.prose-dark p { color: var(--on-surface-variant); line-height: 1.75; margin-bottom: 1.5rem; }
.prose-dark ul, .prose-dark ol { color: var(--on-surface-variant); margin-bottom: 1.5rem; padding-left: 1.5rem; }
.prose-dark li { margin-bottom: 0.5rem; }
.prose-dark blockquote { border-left: 4px solid var(--primary); padding-left: 1.5rem; font-style: italic; color: var(--on-surface); }
.prose-dark a { color: var(--primary); text-decoration: underline; }
.prose-dark img { border-radius: 1rem; margin: 2rem 0; }
