/* 
   WaveQuest Web Stylesheet
   Theme: Apple Dark Minimalism (Bespoke Designer Style)
   Colors: Pure Black, Crisp White, Muted Slate, Selective Sharp Cyan
*/

:root {
    --bg-color: #000000;
    --border-color: #1c1c1e;
    --border-hover: #2c2c2e;
    --text-primary: #ffffff;
    --text-secondary: #86868b;
    --text-muted: #424245;
    
    /* Selective Sharp Accent */
    --accent: #00e5ff;
    --accent-dim: rgba(0, 229, 255, 0.15);
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.logo-img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

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

.btn-header {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 12px;
    background: var(--text-primary);
    color: var(--bg-color);
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.btn-header:hover {
    opacity: 0.9;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 100px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.hero-canvas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.5;
}

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

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.btn-primary {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 20px;
    background: var(--text-primary);
    color: var(--bg-color);
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 20px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--border-hover);
}

/* Phone Stack Showcase */
.phone-stack-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 480px;
    margin: 60px auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.phone-mockup {
    position: absolute;
    width: 190px;
    height: 390px;
    background: #000;
    border-radius: 36px;
    border: 5px solid #2c2c2e;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease, 
                box-shadow 0.3s ease;
    cursor: pointer;
    will-change: transform;
}

.phone-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    height: 14px;
    background: #000;
    border-radius: 7px;
    z-index: 10;
}

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

/* Fan positioning */
.phone-outer-left {
    transform: translateX(-240px) scale(0.72) rotate(-14deg);
    z-index: 1;
    opacity: 0.8;
}

.phone-inner-left {
    transform: translateX(-125px) scale(0.86) rotate(-7deg);
    z-index: 2;
    opacity: 0.95;
}

.phone-center {
    transform: translateX(0) scale(1.0) rotate(0deg);
    z-index: 3;
    opacity: 1;
    border-color: #48484a;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 229, 255, 0.1);
}

.phone-inner-right {
    transform: translateX(125px) scale(0.86) rotate(7deg);
    z-index: 2;
    opacity: 0.95;
}

.phone-outer-right {
    transform: translateX(240px) scale(0.72) rotate(14deg);
    z-index: 1;
    opacity: 0.8;
}

/* Hover Zoom Effect */
.phone-mockup:hover {
    z-index: 10 !important;
    opacity: 1 !important;
    transform: translate(var(--hover-tx), var(--hover-ty)) scale(1.05) rotate(0deg) !important;
    border-color: var(--accent);
    box-shadow: 0 25px 50px rgba(0, 229, 255, 0.25), 0 15px 35px rgba(0, 0, 0, 0.9);
}

/* Features Grid */
.features-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 60px;
}

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

.feature-item h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Wave Preview Banner */
.preview-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.app-showcase-box {
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 60px;
    background: #050505;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.showcase-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.showcase-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.level-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.level-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
}

.level-list svg {
    color: var(--accent);
    flex-shrink: 0;
}

.showcase-graphic {
    position: relative;
    border: 1px solid var(--border-color);
    background: #000;
    border-radius: 20px;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Oscilloscope Teaser Canvas */
.oscilloscope-canvas {
    width: 100%;
    height: 100%;
}

.oscilloscope-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Download Call to Action */
.download-section {
    padding: 120px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.download-box {
    max-width: 500px;
    margin: 0 auto;
}

.download-box h2 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.download-box p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 36px;
}

.btn-app-store {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--text-primary);
    color: var(--bg-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 24px;
    transition: opacity 0.15s ease;
}

.btn-app-store:hover {
    opacity: 0.95;
}

/* Footer Section */
footer {
    padding: 60px 0;
    background-color: var(--bg-color);
    color: var(--text-secondary);
    font-size: 0.8rem;
}

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

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-right {
    display: flex;
    gap: 24px;
}

.footer-right a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
}

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

/* Responsive adjustments */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .app-showcase-box {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 32px;
    }
    .hero-content h1 {
        font-size: 2.4rem;
    }
    .phone-stack-container {
        height: 380px;
        margin-top: 40px;
        max-width: 500px;
    }
    .phone-mockup {
        width: 130px;
        height: 270px;
        border-radius: 24px;
        border-width: 3.5px;
    }
    .phone-island {
        width: 36px;
        height: 9px;
        top: 8px;
        border-radius: 4px;
    }
    .phone-outer-left {
        transform: translateX(-160px) scale(0.75) rotate(-14deg);
    }
    .phone-inner-left {
        transform: translateX(-80px) scale(0.88) rotate(-7deg);
    }
    .phone-center {
        transform: translateX(0) scale(1.0) rotate(0deg);
    }
    .phone-inner-right {
        transform: translateX(80px) scale(0.88) rotate(7deg);
    }
    .phone-outer-right {
        transform: translateX(160px) scale(0.75) rotate(14deg);
    }
    .phone-mockup:hover {
        transform: translate(calc(var(--hover-tx) * 0.6), -10px) scale(1.05) rotate(0deg) !important;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 24px;
    }
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    nav ul {
        display: none;
    }
    .phone-stack-container {
        height: 290px;
        max-width: 320px;
        margin-top: 30px;
    }
    .phone-mockup {
        width: 100px;
        height: 200px;
        border-radius: 18px;
        border-width: 2.5px;
    }
    .phone-island {
        width: 24px;
        height: 6px;
        top: 6px;
        border-radius: 3px;
    }
    .phone-outer-left {
        transform: translateX(-100px) scale(0.75) rotate(-14deg);
    }
    .phone-inner-left {
        transform: translateX(-50px) scale(0.88) rotate(-7deg);
    }
    .phone-center {
        transform: translateX(0) scale(1.0) rotate(0deg);
    }
    .phone-inner-right {
        transform: translateX(50px) scale(0.88) rotate(7deg);
    }
    .phone-outer-right {
        transform: translateX(100px) scale(0.75) rotate(14deg);
    }
    .phone-mockup:hover {
        transform: translate(calc(var(--hover-tx) * 0.4), -5px) scale(1.05) rotate(0deg) !important;
    }
}

/* iOS Bottom Sheet Modal Styles */
.sheet-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

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

.sheet-modal {
    position: relative;
    width: 100%;
    max-width: 620px;
    height: 82vh;
    background: #0f0f12;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border: 1px solid #1c1c1e;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.8);
}

.sheet-backdrop.active .sheet-modal {
    transform: translateY(0);
}

.sheet-header {
    padding: 12px 24px 16px 24px;
    border-bottom: 1px solid #1c1c1e;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.sheet-grab-bar {
    width: 36px;
    height: 5px;
    background: #2c2c2e;
    border-radius: 2.5px;
}

.sheet-title-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sheet-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.btn-sheet-close {
    background: transparent;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    padding: 4px 8px;
    transition: opacity 0.15s ease;
}

.btn-sheet-close:hover {
    opacity: 0.8;
}

.sheet-content {
    padding: 32px 24px;
    overflow-y: auto;
    flex-grow: 1;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sheet-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sheet-section h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.sheet-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: -6px;
    margin-bottom: 8px;
}

.sheet-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 12px;
}

.sheet-section p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.sheet-section code {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-primary);
}

.sheet-separator {
    height: 1px;
    background: #1c1c1e;
}

/* Video Teaser Showcase Section with iPad Bezel */
.teaser-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.ipad-container {
    width: 100%;
    max-width: 760px;
    margin: 50px auto 0 auto;
    perspective: 1000px;
}

.ipad-bezel {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #000000;
    border-radius: 36px;
    border: 14px solid #1c1c1e;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.85), 
                0 0 45px rgba(0, 229, 255, 0.05),
                inset 0 0 10px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
    will-change: transform;
}

.ipad-bezel:hover {
    transform: translateY(-10px) rotateX(1.5deg);
    border-color: #2c2c2e;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.95), 
                0 0 50px rgba(0, 229, 255, 0.15),
                inset 0 0 15px rgba(255, 255, 255, 0.15);
}

.ipad-camera {
    position: absolute;
    top: 50%;
    left: 8px; /* Classic landscape iPad position */
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    background: #252528;
    border-radius: 50%;
    z-index: 10;
    border: 1px solid #101012;
}

.ipad-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
}

.ipad-screen iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Responsive Scaling for iPad Mockup */
@media (max-width: 900px) {
    .teaser-section {
        padding: 80px 0;
    }
    .ipad-container {
        max-width: 600px;
        margin-top: 40px;
    }
    .ipad-bezel {
        border-radius: 28px;
        border-width: 11px;
    }
    .ipad-screen {
        border-radius: 17px;
    }
    .ipad-camera {
        left: 6px;
        width: 5px;
        height: 5px;
    }
}

@media (max-width: 600px) {
    .teaser-section {
        padding: 60px 0;
    }
    .ipad-container {
        max-width: 100%;
        margin-top: 30px;
    }
    .ipad-bezel {
        border-radius: 22px;
        border-width: 8px;
    }
    .ipad-screen {
        border-radius: 14px;
    }
    .ipad-camera {
        left: 5px;
        width: 4px;
        height: 4px;
    }
}

/* Dedicated Privacy & Terms Page Styles */
.privacy-main {
    padding-top: 130px;
    padding-bottom: 80px;
}

.article-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px;
}

.privacy-hero {
    margin-bottom: 48px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.privacy-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 12px;
}

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

.article-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-top: 16px;
    margin-bottom: 8px;
}

.article-section h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 12px;
    margin-bottom: 4px;
}

.article-section p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.article-section code {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.82rem;
    color: var(--text-primary);
}

.license-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
    font-family: monospace;
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre-wrap;
    margin-top: 8px;
    margin-bottom: 16px;
}

.article-separator {
    height: 1px;
    background: var(--border-color);
    margin: 40px 0;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 12px;
    transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.btn-back-home:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background-color: rgba(255, 255, 255, 0.03);
}

/* Adjust page spacing on smaller screens */
@media (max-width: 600px) {
    .privacy-main {
        padding-top: 110px;
    }
    .privacy-hero h1 {
        font-size: 2.2rem;
    }
    .article-section h2 {
        font-size: 1.4rem;
    }
}

/* Dedicated Support Page Styles */
.support-main {
    padding-top: 130px;
    padding-bottom: 80px;
}

.support-hero {
    margin-bottom: 48px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 32px;
    text-align: center;
}

.support-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 12px;
}

.support-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Category Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.support-card {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.support-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.03);
}

.support-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(0, 229, 255, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.support-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* FAQ Accordion Section */
.faq-section {
    margin-bottom: 64px;
}

.faq-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 36px;
    text-align: center;
    letter-spacing: -0.02em;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

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

.faq-question svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-secondary);
    flex-shrink: 0;
}

.faq-item.active {
    border-color: var(--accent);
    background: rgba(0, 229, 255, 0.02);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-content {
    padding: 0 28px 24px 28px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.faq-answer-content code {
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-primary);
}

/* Contact Support Section */
.contact-section {
    max-width: 600px;
    margin: 0 auto;
}

.contact-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: -0.02em;
}

.contact-section p.contact-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 36px;
    line-height: 1.5;
}

.contact-card {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 24px;
    padding: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 14px 18px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
}

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

.btn-submit {
    width: 100%;
    background: var(--text-primary);
    color: var(--bg-color);
    border: none;
    padding: 16px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease, background-color 0.15s ease;
}

.btn-submit:hover {
    opacity: 0.92;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 20px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.form-success h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.form-success p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Adjust page spacing on smaller screens */
@media (max-width: 900px) {
    .support-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
@media (max-width: 600px) {
    .support-main {
        padding-top: 110px;
    }
    .support-hero h1 {
        font-size: 2.2rem;
    }
    .contact-card {
        padding: 24px;
    }
}


