/* ==========================================================================
   GEO Hunter Official Website - Core Stylesheet
   Theme: Space Dark & Neon Tech Accents (High Fidelity SaaS Aesthetics)
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    --bg-dark: #070a13;
    --bg-card: rgba(17, 24, 39, 0.6);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(134, 59, 255, 0.4);
    
    --primary: #863bff;
    --primary-glow: rgba(134, 59, 255, 0.25);
    --success: #52c41a;
    --success-glow: rgba(82, 196, 26, 0.2);
    --accent: #8b5cf6;
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-inverse: #ffffff;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-system: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-system);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Space Background Decorative Grids & Glows */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(22, 119, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 45%),
        linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 80px 80px, 80px 80px;
    z-index: -1;
    pointer-events: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* Typography Enhancements */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--text-inverse);
}

p {
    line-height: 1.6;
    color: var(--text-muted);
}

/* Header & Navigation */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 10, 19, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon-wrapper img {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 6px rgba(134, 59, 255, 0.45));
    display: block;
}

.logo-pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 10px;
    animation: logo-pulse 2s infinite ease-out;
    pointer-events: none;
}

@keyframes logo-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}

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

.logo-title {
    font-size: 1.05rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 40%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    margin-top: 2px;
    letter-spacing: 0.2px;
    background: none;
    -webkit-text-fill-color: initial;
    -webkit-background-clip: initial;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
}

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

.nav-item a:hover,
.nav-item.active a {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(22, 119, 255, 0.4);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Premium Buttons */
.btn {
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.btn-primary {
    background: var(--primary);
    color: var(--text-inverse);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background: #4096ff;
    box-shadow: 0 6px 20px rgba(22, 119, 255, 0.4);
    transform: translateY(-1px);
}

.btn-success {
    background: var(--success);
    color: var(--text-inverse);
    box-shadow: 0 4px 14px var(--success-glow);
}

.btn-success:hover {
    background: #73d13d;
    box-shadow: 0 6px 20px rgba(82, 196, 26, 0.35);
    transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    color: var(--text-main);
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 5rem;
    text-align: center;
    position: relative;
}

.badge-glow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: rgba(22, 119, 255, 0.1);
    border: 1px solid rgba(22, 119, 255, 0.2);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: inset 0 0 12px rgba(22, 119, 255, 0.15);
}

.hero h1 {
    font-size: 3.75rem;
    line-height: 1.15;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #ffffff 40%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

/* Glassmorphism Cards & Layout */
.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.section-title p {
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    pointer-events: none;
}

.glass-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(22, 119, 255, 0.08);
}

/* Feature Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(22, 119, 255, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(22, 119, 255, 0.15);
}

.glass-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

/* Workflow/Step UI Display */
.workflow-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.flow-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 4rem;
}

.flow-item {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.flow-item:nth-child(even) {
    flex-direction: row-reverse;
}

.flow-image, .flow-desc {
    flex: 1;
}

.flow-number {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    background: rgba(22, 119, 255, 0.15);
    color: var(--primary);
    margin-bottom: 1rem;
}

.flow-desc h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.flow-desc p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.flow-image-card {
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    background: rgba(17, 24, 39, 0.4);
    box-shadow: inset 0 0 30px rgba(0,0,0,0.4);
}

/* Metrics Dashboard Simulator */
.metrics-dashboard {
    max-width: 900px;
    margin: 2.5rem auto 0;
    padding: 1.75rem;
    text-align: left;
}

.metrics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.metrics-header span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.metrics-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--success);
}

.pulse-circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--success);
    box-shadow: 0 0 10px var(--success);
    animation: pulse 1.8s infinite;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.metric-item {
    padding: 1.25rem;
    border-radius: 10px;
    background: rgba(7, 10, 19, 0.4);
    border: 1px solid rgba(255,255,255,0.03);
}

.metric-item label {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
}

.metric-value.color-primary { color: var(--primary); }
.metric-value.color-success { color: var(--success); }
.metric-value.color-accent { color: var(--accent); }

/* Interactive FAQ Accordion Style */
.accordion {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.accordion-item:hover {
    border-color: rgba(255,255,255,0.15);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: var(--text-inverse);
    font-size: 1.05rem;
    font-weight: 600;
}

.accordion-header svg {
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}

.accordion-body {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.accordion-item.active {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(22, 119, 255, 0.05);
}

.accordion-item.active .accordion-header svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-item.active .accordion-content {
    max-height: 500px; /* Large enough threshold */
}

/* Blog Layout styles */
.blog-container {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.blog-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-read-more:hover {
    gap: 0.5rem;
}

/* Login/Register Page Styling */
.auth-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    padding: 3rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(7, 10, 19, 0.6);
    border: 1px solid var(--border-color);
    color: var(--text-inverse);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(22, 119, 255, 0.15);
    background-color: rgba(7, 10, 19, 0.8);
    outline: none;
}

.auth-footer {
    text-align: center;
    margin-top: 1.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* Footer layout */
.footer {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    background: #04060c;
    padding: 4rem 2rem 2.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
}

.footer-brand p {
    margin: 1rem 0 1.5rem;
    max-width: 280px;
    font-size: 0.9rem;
}

.footer-links h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    margin-bottom: 1.25rem;
    color: var(--text-inverse);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(82, 196, 26, 0.4); }
    70% { transform: scale(1.1); opacity: 0.8; box-shadow: 0 0 0 8px rgba(82, 196, 26, 0); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(82, 196, 26, 0); }
}

/* Responsive Rules */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    .flow-item, .flow-item:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border-color);
        padding: 2rem;
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        box-shadow: 0 20px 25px rgba(0,0,0,0.5);
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-actions {
        display: none;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
