/* ==========================================================================
   Giga Gestor - UX/UI 2027 Design System (Mobile-First & Clean Dark Gold)
   ========================================================================== */

:root {
    --bg-obsidian: #08080a;
    --bg-card: rgba(18, 18, 24, 0.7);
    --bg-card-border: rgba(212, 175, 55, 0.15);
    --bg-glass: rgba(255, 255, 255, 0.03);
    
    --gold-primary: #D4AF37;
    --gold-bright: #FFE57F;
    --gold-dark: #997A15;
    --gold-glow: rgba(212, 175, 55, 0.22);
    --gold-gradient: linear-gradient(135deg, #FFE57F 0%, #D4AF37 50%, #997A15 100%);
    --gold-gradient-hover: linear-gradient(135deg, #FFF0B3 0%, #E5BE48 50%, #B38F1F 100%);
    
    --text-pure: #FFFFFF;
    --text-subtle: #A1A1AA;
    --text-muted: #71717A;
    
    --radius-pill: 100px;
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-main);
    background-color: var(--bg-obsidian);
    color: var(--text-pure);
    line-height: 1.5;
}

body {
    overflow-x: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, rgba(8, 8, 10, 1) 65%);
    min-height: 100vh;
}

/* Container */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Text Gradient */
.text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 90;
    background: rgba(8, 8, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    height: 70px;
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--text-pure);
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: var(--gold-gradient);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 0 15px var(--gold-glow);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav-login {
    color: var(--text-subtle);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
}

.btn-nav-login:hover {
    color: var(--text-pure);
    background: rgba(255, 255, 255, 0.05);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gold-gradient);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 4px 25px var(--gold-glow);
    text-decoration: none;
    min-height: 52px;
}

.btn-primary:hover {
    background: var(--gold-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(212, 175, 55, 0.45);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    padding-top: 130px;
    padding-bottom: 60px;
    text-align: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-pill);
    color: var(--gold-bright);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    max-width: 800px;
    margin: 0 auto 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-subtle);
    max-width: 620px;
    margin: 0 auto 32px;
    font-weight: 400;
}

/* Social Proof Stars & Avatar Row */
.social-proof-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.stars-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--gold-bright);
    font-size: 0.9rem;
    font-weight: 700;
}

.social-proof-text {
    font-size: 0.875rem;
    color: var(--text-subtle);
}

.social-proof-text strong {
    color: var(--text-pure);
}

/* Quick Features Grid */
.features-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    backdrop-filter: blur(12px);
    transition: var(--transition-fast);
}

.feature-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--gold-glow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    margin-bottom: 16px;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-desc {
    color: var(--text-subtle);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Testimonials / Social Proof Section */
.testimonials-section {
    padding: 60px 0;
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    color: var(--text-subtle);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #000;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-pure);
}

.author-store {
    font-size: 0.78rem;
    color: var(--gold-bright);
}

/* Modal Overlay & Card */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    padding: 16px;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #0f0f14;
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 460px;
    padding: 32px 24px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 35px var(--gold-glow);
    transform: scale(0.95);
    transition: var(--transition-fast);
}

.modal-backdrop.active .modal-box {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close-btn:hover {
    color: var(--text-pure);
    background: rgba(255, 255, 255, 0.05);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.modal-desc {
    font-size: 0.85rem;
    color: var(--text-subtle);
}

/* 4-Field Form Styling */
.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    text-align: left;
}

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

.form-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    color: var(--text-pure);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 12px var(--gold-glow);
    background: rgba(255, 255, 255, 0.07);
}

/* Sticky Action Bar (Mobile Only) */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 16px;
    background: rgba(8, 8, 10, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--bg-card-border);
    z-index: 80;
}

.mobile-sticky-bar .btn-primary {
    width: 100%;
    min-height: 48px;
    font-size: 0.95rem;
}

/* Footer */
.footer-simple {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 40px;
}

/* Responsive Rules (Mobile First Optimization) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.85rem;
    }
    .hero-subtitle {
        font-size: 0.98rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .mobile-sticky-bar {
        display: block;
    }
    .footer-simple {
        margin-bottom: 70px;
    }
}
