/* Fade Golf - Premium Design System */
:root {
    /* Colors - Premium Palette */
    --bg-dark: #0a0c10;
    /* Deep charcoal, almost black */
    --bg-card: rgba(30, 35, 45, 0.6);
    /* Glassy card background */
    --bg-hover: rgba(45, 50, 60, 0.8);

    --primary: #4ade80;
    /* Vibrant Green (keeping brand core) */
    --primary-glow: rgba(74, 222, 128, 0.4);
    --primary-hover: #22c55e;

    --text-main: #f3f4f6;
    /* Brighter white for contrast */
    --text-muted: #9ca3af;

    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(74, 222, 128, 0.5);

    /* Spacing */
    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;

    /* Effects */
    --glass-blur: blur(12px);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px var(--primary-glow);
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.glass {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
}

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

.text-muted {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.1);
}

/* Pain Banner Utility */
.banner-highlight {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-hover);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
}

/* Navigation */
.navbar {
    background-color: rgba(15, 17, 21, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

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

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

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
    background: radial-gradient(circle at center, #1a202c 0%, var(--bg-dark) 70%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: var(--primary);
    opacity: 0.05;
    filter: blur(100px);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Cards Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.card {
    background-color: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    background-color: var(--bg-hover);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Pricing Table */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.1);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: var(--bg-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 1.5rem 0 0.5rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.features-list {
    margin: 2rem 0;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-muted);
}

.features-list li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
}

/* Assessment Page Specifics */
.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.step-number {
    background-color: var(--bg-hover);
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 4rem 0;
    margin-top: 6rem;
    text-align: center;
    color: var(--text-muted);
}

/* Reduced motion media query for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 768px) {

    /* Navigation */
    .navbar {
        padding: 1rem 0;
    }

    /* Fix Video Overflow on Mobile */
    video {
        transform: scale(1) !important;
    }

    .glass.video-reveal {
        transform: none !important;
        opacity: 1 !important;
        aspect-ratio: 16/9 !important;
    }

    .logo img {
        height: 32px !important;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    /* Mobile Nav Toggle */
    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 101;
        padding: 0;
    }

    .mobile-menu-btn span {
        width: 100%;
        height: 3px;
        background-color: var(--text-main);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Hamburger Animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Mobile Nav Links Overlay */
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background-color: rgba(10, 12, 16, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        background-color: rgba(10, 12, 16, 0.98);
        backdrop-filter: blur(20px);
        display: none;
        /* Changed from flex to none to prevent overflow */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 99;
    }

    .nav-links.nav-active {
        transform: translateX(0);
        display: flex;
        /* Show when active */
    }

    .nav-links a {
        font-size: 1.5rem;
        font-weight: 600;
    }
}

/* Desktop default hidden for hamburger */
.mobile-menu-btn {
    display: none;
}

/* Blog Styles */
.article-header {
    text-align: center;
    padding: 6rem 0 4rem;
    background: radial-gradient(circle at center, #1a202c 0%, var(--bg-dark) 70%);
}

.article-meta {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1rem;
    font-size: 1.125rem;
    color: #d1d5db;
    /* Slightly lighter than muted for better readability */
}

.blog-content h2 {
    color: var(--text-main);
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
}

.blog-content h3 {
    color: var(--text-main);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.blog-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.blog-content ul {
    list-style: disc;
    margin: 0 0 2rem 2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.author-bio {
    border-top: 1px solid var(--border);
    margin-top: 4rem;
    padding-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background-color: var(--bg-hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

/* Team Styles */
.team-profile {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 4rem;
}

.team-image img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.team-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.team-credentials {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.team-bio p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .team-profile {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Type Toggle (Individual/Group) */
.type-toggle-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.type-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.type-btn.active {
    color: var(--text-main);
    border-bottom-color: var(--primary);
}

.type-btn:hover {
    color: var(--text-main);
}

/* Pill Toggle */
.toggle-container {
    max-width: 500px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}

.toggle-pill {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    padding: 0.35rem;
    border-radius: 50px;
    display: flex;
    position: relative;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.pill-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.75rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: color 0.3s ease;
    z-index: 2;
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pill-badge {
    position: absolute;
    top: -12px;
    left: 0;
    font-size: 0.65rem;
    background: var(--primary);
    color: var(--bg-dark);
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transform: rotate(-10deg);
    z-index: 3;
    pointer-events: none;
    border: 2px solid var(--bg-card);
    /* Optional: creates a 'cutout' effect */
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
    }

    70% {
        box-shadow: 0 0 0 5px rgba(74, 222, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

.pill-btn.active {
    color: var(--bg-dark);
}

.pill-bg {
    position: absolute;
    top: 0.35rem;
    left: 0.35rem;
    height: calc(100% - 0.7rem);
    width: calc(33.33% - 0.25rem);
    background: var(--primary);
    border-radius: 50px;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.3);
}

/* Card Redesign */
.pricing-card {
    padding: 0;
    overflow: visible;
    /* Changed from hidden to visible */
    margin-top: 1rem;
    /* Ensure space for badge */
}

.card-header {
    padding: 2.5rem 2.5rem 0;
}

.price-container {
    padding: 0 2.5rem;
    margin-bottom: 2rem;
}

.price {
    margin-top: 0.5rem;
}

.billing-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.pricing-card .btn {
    margin: 0 2.5rem;
    width: calc(100% - 5rem);
    text-align: center;
}

.features-container {
    padding: 2.5rem;
    margin-top: 1rem;
}

.features-title {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.features-list {
    margin: 0;
}

.features-list li {
    font-size: 0.95rem;
}

/* Assessment Tabs */
.assessment-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.assessment-tab {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    min-width: 280px;
    text-align: left;
    color: var(--text-muted);
}

.assessment-tab:hover {
    background: var(--bg-hover);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.assessment-tab.active {
    background: rgba(74, 222, 128, 0.1);
    border-color: var(--primary);
    color: var(--text-main);
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.2);
}

.assessment-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.assessment-content.active {
    display: block;
}

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

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

/* Accordion Styles */
/* Accordion Styles */
details {
    background-color: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 0.8rem;
    /* Compact spacing */
    overflow: hidden;
    transition: all 0.3s ease;
}

details:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    background-color: var(--bg-hover);
    transform: translateY(-2px);
    /* Add lift effect */
}

details[open] {
    border-color: var(--primary);
    background: var(--bg-hover);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.15);
    /* Enhanced glow on open */
}

summary {
    list-style: none;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    transition: all 0.2s ease;
    user-select: none;
}

summary::-webkit-details-marker {
    display: none;
}

.accordion-content {
    background: rgba(10, 12, 16, 0.5);
    border-top: 1px solid var(--border);
    padding: 1.5rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.accordion-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.accordion-title {
    flex: 1;
    font-size: 1.1rem;
}

.accordion-arrow {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

details[open] .accordion-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

details[open] summary {
    border-bottom: 1px solid var(--border);
}

.step-badge {
    background: var(--bg-hover);
    color: var(--primary);
    font-weight: 800;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    height: fit-content;
    white-space: nowrap;
}

.step-details {
    flex: 1;
}

@media (max-width: 768px) {
    .process-step {
        flex-direction: column;
        gap: 1rem;
    }

    .assessment-tab {
        width: 100%;
    }
}