/* =========================================================================
   GoLive Local - Design System & Base Variables
   ========================================================================= */

:root {
    /* Colors */
    --color-bg: #0a0a0c;
    --color-bg-secondary: #121216;
    --color-bg-tertiary: #1a1a20;

    --color-text-primary: #ffffff;
    --color-text-secondary: #a0a0ab;
    --color-text-muted: #71717a;

    --color-primary: #4f46e5;
    --color-primary-hover: #6366f1;
    --color-primary-light: rgba(79, 70, 229, 0.15);

    --color-accent: #10b981;
    --color-accent-hover: #34d399;

    --color-border: #27272a;
    --color-border-hover: #3f3f46;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --container-padding: 2rem;

    /* Effects */
    --glass-bg: rgba(26, 26, 32, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.4);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================================
   Reset & Global Styles
   ========================================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-primary);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1rem;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================================================
   Utilities
   ========================================================================= */

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 9999px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-align: center;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background-color: var(--color-primary-light);
    color: var(--color-text-primary);
    transform: translateY(-2px);
}

/* Glass panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
}

/* Text Gradients */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #a0a0ab 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-primary {
    background: linear-gradient(135deg, #818cf8 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Spacing */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* =========================================================================
   Navbar Layout
   ========================================================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all var(--transition-normal);
    padding: 1.25rem 0;
    border-bottom: 1px solid transparent;
}

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

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.5rem;
}

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

.nav-link {
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

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

.nav-link:hover::after {
    width: 100%;
}

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

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-text-primary);
}

.phone-link:hover {
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* Mobile Menu */
@media (max-width: 992px) {

    .nav-links,
    .nav-actions .phone-link,
    .nav-actions .btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Active state for mobile menu */
    .navbar.menu-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-bg-secondary);
        padding: 2rem;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
    }

    .navbar.menu-open .nav-links a {
        font-size: 1.125rem;
        padding: 0.5rem 0;
    }
}

/* =========================================================================
   Animations
   ========================================================================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    opacity: 0;
}

.fade-up.is-visible {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =========================================================================
   Hero Section
   ========================================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 10s ease-in-out infinite;
}

.orb-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--color-primary);
}

.orb-2 {
    bottom: 0;
    left: -10%;
    width: 400px;
    height: 400px;
    background: #c084fc;
    animation-delay: -5s;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--color-text-secondary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    padding: 1.5rem 3rem;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--color-border);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        width: 100%;
        max-width: 300px;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }
}

/* =========================================================================
   How It Works Section
   ========================================================================= */

.how-it-works {
    background-color: var(--color-bg);
    position: relative;
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 4rem;
}

.step-card {
    flex: 1;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.step-card.active {
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.1);
    background: rgba(79, 70, 229, 0.05);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    line-height: 1;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step-desc {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.step-connector {
    color: var(--color-border);
}

@media (max-width: 992px) {
    .steps-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .step-connector {
        transform: rotate(90deg);
        margin: 1rem 0;
    }

    .step-card {
        width: 100%;
    }
}

/* =========================================================================
   Pricing Section
   ========================================================================= */

.pricing {
    position: relative;
    z-index: 10;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
}

.pricing-card {
    padding: 3rem 2rem;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.popular {
    border-color: var(--color-primary);
    background: rgba(79, 70, 229, 0.05);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.4);
}

.plan-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.plan-desc {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    min-height: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.plan-features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
    font-size: 0.9375rem;
}

.plan-features li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-btn {
    width: 100%;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        gap: 3rem;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
}

/* =========================================================================
   FAQ Section
   ========================================================================= */

.faq-container {
    max-width: 800px;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    overflow: hidden;
    transition: all var(--transition-normal);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    outline: none;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-primary);
    transition: transform var(--transition-normal);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-item.active {
    border-color: rgba(79, 70, 229, 0.4);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    /* Arbitrary enough for this content */
    padding-bottom: 1.5rem;
}

.accordion-content p {
    margin: 0;
    color: var(--color-text-secondary);
}

/* =========================================================================
   Footer Section
   ========================================================================= */

.footer {
    background-color: #050505;
    padding-top: 6rem;
    border-top: 1px solid var(--color-border);
    position: relative;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info {
    flex: 1;
    max-width: 400px;
}

.footer .logo {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-desc {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
}

.footer-cta {
    flex: 1;
    max-width: 450px;
    padding: 2.5rem;
    text-align: center;
    background: var(--color-bg-secondary);
}

.footer-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-cta p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.footer-cta .btn {
    width: 100%;
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

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

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}