/* Custom Properties - GoldTracker Icon Palette (Gold, Red, Blue) */
:root {
    --bg-color: #07090E;
    --bg-card: rgba(13, 18, 30, 0.75);
    --surface-color: rgba(255, 255, 255, 0.035);
    --surface-hover: rgba(255, 255, 255, 0.075);
    --border-color: rgba(255, 255, 255, 0.09);
    
    /* Target Tri-Color Signature (Matches App Icon) */
    --target-gold: #FACC15;       /* Bullseye / Camera Aperture */
    --target-gold-hover: #EAB308;
    --target-gold-glow: rgba(250, 204, 21, 0.28);
    
    --target-red: #EF4444;        /* 8 & 7 Rings */
    --target-red-hover: #DC2626;
    --target-red-glow: rgba(239, 68, 68, 0.25);
    
    --target-blue: #3B82F6;       /* 6 & 5 Rings */
    --target-blue-hover: #2563EB;
    --target-blue-glow: rgba(59, 130, 246, 0.25);
    
    --primary-color: var(--target-gold);
    --primary-hover: var(--target-gold-hover);
    --accent-color: #F59E0B;
    
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Elements */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); letter-spacing: -0.02em; margin-bottom: 1rem; }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.25rem; }

p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

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

.text-gradient-blue {
    background: linear-gradient(135deg, #38BDF8, #818CF8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #000;
    box-shadow: 0 4px 14px rgba(250, 204, 21, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FFE066, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(250, 204, 21, 0.4);
}

.btn-block {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 0;
    z-index: 100;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 7, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-weight: 900;
    letter-spacing: -0.04em;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 1.75rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6.5rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.14) 0%, rgba(239, 68, 68, 0.05) 45%, rgba(0,0,0,0) 70%);
    z-index: -1;
    filter: blur(80px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.14) 0%, rgba(239, 68, 68, 0.05) 50%, rgba(0,0,0,0) 70%);
    z-index: -1;
    filter: blur(80px);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    background: rgba(250, 204, 21, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(250, 204, 21, 0.25);
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.25rem;
    margin-bottom: 1.75rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.hero-pill i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.store-btn {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    border-radius: 0.85rem;
    gap: 1rem;
    backdrop-filter: blur(10px);
}

.store-btn:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.store-btn i {
    font-size: 1.85rem;
}

.store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-text span {
    font-size: 0.65rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.store-text strong {
    font-size: 1.05rem;
    font-weight: 600;
}

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

.glow-effect {
    position: absolute;
    width: 90%;
    height: 90%;
    background: var(--primary-color);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    z-index: -1;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.2; }
    100% { transform: scale(1.15); opacity: 0.32; }
}

.hero-image img {
    width: 100%;
    max-width: 620px;
    height: auto;
    border-radius: 2rem;
    box-shadow: 0 30px 70px -12px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform: scale(1.08);
}

.hero-image img:hover {
    transform: scale(1.12) translateY(-6px);
    box-shadow: 0 40px 85px -12px rgba(0, 0, 0, 0.95), 0 0 50px rgba(250, 204, 21, 0.3);
}

/* Section Common */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.section-header p {
    font-size: 1.15rem;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2.25rem;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--surface-hover);
    transform: translateY(-5px);
    border-color: rgba(250, 204, 21, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.icon-wrapper {
    width: 54px;
    height: 54px;
    background: rgba(250, 204, 21, 0.12);
    color: var(--target-gold);
    border: 1px solid rgba(250, 204, 21, 0.25);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.icon-blue { 
    background: rgba(59, 130, 246, 0.12); 
    color: var(--target-blue); 
    border-color: rgba(59, 130, 246, 0.25); 
}

.icon-red { 
    background: rgba(239, 68, 68, 0.12); 
    color: var(--target-red); 
    border-color: rgba(239, 68, 68, 0.25); 
}

.icon-emerald { 
    background: rgba(16, 185, 129, 0.12); 
    color: #10B981; 
    border-color: rgba(16, 185, 129, 0.25); 
}

/* Deep Dive Feature Rows */
.deep-dive {
    padding: 5rem 0;
    border-top: 1px solid var(--border-color);
}

.deep-dive-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.deep-dive-row.reversed {
    direction: rtl;
}

.deep-dive-row.reversed > * {
    direction: ltr;
}

.deep-dive-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-pill-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    width: fit-content;
}

.tag-gold { background: rgba(250, 204, 21, 0.12); color: var(--target-gold); border: 1px solid rgba(250, 204, 21, 0.3); }
.tag-red { background: rgba(239, 68, 68, 0.12); color: var(--target-red); border: 1px solid rgba(239, 68, 68, 0.3); }
.tag-blue { background: rgba(59, 130, 246, 0.12); color: var(--target-blue); border: 1px solid rgba(59, 130, 246, 0.3); }

.feature-check-list {
    list-style: none;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.feature-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.feature-check-list li i {
    color: var(--primary-color);
    margin-top: 0.25rem;
    font-size: 0.95rem;
}

.feature-check-list li strong {
    color: var(--text-primary);
}

/* Phone Frame Showcase */
.phone-mockup-frame {
    position: relative;
    max-width: 340px;
    margin: 0 auto;
    border-radius: 36px;
    padding: 10px;
    background: linear-gradient(135deg, #2b3040, #141724);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.phone-mockup-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 28px;
}

/* Dual Card Showcase for Practice Modes */
.dual-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.mode-showcase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1.75rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.mode-showcase-card:hover {
    border-color: rgba(250, 204, 21, 0.3);
    transform: translateY(-4px);
}

.mode-showcase-card .phone-mockup-frame {
    max-width: 280px;
    margin-top: 1.5rem;
}

/* Target Face Matrix */
.target-matrix-section {
    background: rgba(255, 255, 255, 0.015);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 4rem 0;
}

.target-chips-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.target-face-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.target-face-chip i {
    color: var(--primary-color);
}

/* Interactive Showcase Tabs */
.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.showcase-tab-btn {
    padding: 0.65rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.showcase-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.showcase-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #000;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(250, 204, 21, 0.3);
}

.showcase-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.showcase-pane.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

/* FAQ Accordion */
.faq-section {
    padding: 5rem 0;
}

.faq-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    user-select: none;
}

.faq-header i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

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

.faq-item.active .faq-body {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-body p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.98rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    backdrop-filter: blur(12px);
}

.contact-details {
    margin-top: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
}

.detail-item i {
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.2);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    margin-top: 3rem;
    background: rgba(0, 0, 0, 0.4);
}

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

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Responsive */
@media (max-width: 992px) {
    .hero-container, 
    .contact-card,
    .deep-dive-row,
    .deep-dive-row.reversed,
    .showcase-pane.active,
    .dual-showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        text-align: center;
        padding-top: 7rem;
    }
    
    .hero-pills,
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .contact-card {
        padding: 1.5rem;
        gap: 2rem;
    }

    .hero-image {
        margin: 2rem -1rem 3rem -1rem;
    }
    
    .hero-image img {
        transform: scale(1.4);
    }

    .hero-image img:hover {
        transform: scale(1.4) translateY(-5px);
    }
}
