/*
Theme Name: Gym Bastion Premium Theme
Theme URI: https://cobonaut.com
Author: Antigravity AI
Author URI: https://cobonaut.com
Description: Premium dark mode theme for Gym Bastion.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cobonaut-theme
*/

:root {
    --bg-main: #060814;
    --bg-card: #0c1026;
    --bg-card-hover: #12193b;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(168, 85, 247, 0.3);
    
    --primary: #a855f7;
    --primary-glow: rgba(168, 85, 247, 0.15);
    --primary-hover: #c084fc;
    
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.15);
    
    --success: #10b981;
    --danger: #ef4444;
    
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Background Glows */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    pointer-events: none;
    z-index: 0;
}
.glow-primary {
    background: var(--primary-glow);
    top: -200px;
    left: -200px;
}
.glow-accent {
    background: var(--accent-glow);
    bottom: -200px;
    right: -200px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(6, 8, 20, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
}
.logo-icon {
    color: var(--primary);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #7e22ce);
    color: var(--text-light);
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.6);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

/* Sections */
section {
    position: relative;
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 150px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 25px;
    background: linear-gradient(to right, #ffffff, #a855f7, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Cards & Grid Styles */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.08);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.card-icon.red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Process Roadmap */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    padding: 0 20px;
    position: relative;
}

.roadmap-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    position: relative;
}

.roadmap-step {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(168, 85, 247, 0.4);
}

.roadmap-icon {
    font-size: 2rem;
    color: var(--primary);
    margin: 15px 0 10px 0;
}

.roadmap-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.roadmap-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* AI Gimi Section */
.ai-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 80px 20px;
}

.ai-content {
    max-width: 550px;
}

.ai-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.ai-content h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.ai-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.ai-content ul {
    list-style: none;
}

.ai-content li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.ai-content li span {
    color: var(--primary);
    font-weight: bold;
}

/* Chat Simulator */
.chat-sim {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    height: 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.4);
}

.chat-sim-header {
    padding: 15px 25px;
    border-b: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-sim-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chat-sim-info h4 {
    font-size: 0.95rem;
}

.chat-sim-status {
    font-size: 0.75rem;
    color: var(--success);
}

.chat-sim-body {
    flex-1: 1;
    overflow-y: auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-sim-msg {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 0.85rem;
}

.chat-sim-msg.them {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-sim-msg.me {
    background: var(--primary);
    color: var(--text-light);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-sim-input {
    padding: 15px 25px;
    border-top: 1px solid var(--border-color);
    background: rgba(0,0,0,0.1);
    display: flex;
    gap: 10px;
}

.chat-sim-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 15px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.chat-sim-input input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Interactive Calculator & Pricing */
.pricing-section {
    padding: 80px 20px;
}

.pricing-calc {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.pricing-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.pricing-tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-tab.active {
    background: var(--bg-main);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.pricing-slider-container {
    margin-bottom: 30px;
}

.pricing-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.pricing-slider-header label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pricing-slider-val {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-light);
}

.slider {
    width: 100%;
    -webkit-appearance: none;
    height: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
    transition: transform 0.1s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Promo Code Box */
.promo-box {
    margin-bottom: 30px;
}

.promo-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.promo-input-group {
    display: flex;
    gap: 10px;
}

.promo-input-group input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 15px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.promo-input-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.promo-status {
    font-size: 0.8rem;
    margin-top: 8px;
    font-weight: 600;
    display: none;
}

.promo-status.success {
    color: var(--success);
    display: block;
}

.promo-status.error {
    color: var(--danger);
    display: block;
}

/* Pricing Breakdown */
.pricing-breakdown {
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breakdown-row.savings {
    color: var(--success);
    font-weight: 600;
}

.breakdown-total {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breakdown-total span {
    font-size: 1.1rem;
    font-weight: 700;
}

.breakdown-total-val {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
}

.pricing-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 20px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active {
    border-color: var(--border-hover);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 25px 20px 25px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

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

/* CTA & Footer */
.cta-section {
    text-align: center;
    padding: 100px 20px;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
    border-top: 1px solid var(--border-color);
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 20px;
    background: #03040a;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-links {
    display: flex;
    gap: 20px;
}

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

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

/* Responsiveness */
@media (max-width: 900px) {
    .ai-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .ai-content {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .ai-content li {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .logo-text {
        display: none;
    }
    
    .nav-links a:not(.btn) {
        display: none;
    }
    
    .pricing-calc {
        padding: 20px;
    }
    
    .breakdown-total-val {
        font-size: 1.8rem;
    }
}
