/* ========================================
   IDEORIX WEBSITE - CSS STYLES
   ======================================== */

/* CSS Variables */
:root {
    /* Brand Colors */
    --gold: #D4A84B;
    --gold-light: #E8C87A;
    --gold-dark: #B08930;
    --gold-glow: rgba(212, 168, 75, 0.3);
    
    /* Background Colors */
    --bg-dark: #0D1117;
    --bg-darker: #080B0F;
    --bg-card: #161B22;
    --bg-card-hover: #1C2128;
    --bg-gradient: linear-gradient(180deg, #0D1117 0%, #080B0F 100%);
    
    /* Text Colors */
    --text-primary: #F0F6FC;
    --text-secondary: #8B949E;
    --text-muted: #6E7681;
    
    /* Status Colors */
    --success: #3FB950;
    --warning: #D29922;
    --error: #F85149;
    --info: #58A6FF;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px var(--gold-glow);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 400ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--gold-light);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 168, 75, 0.1);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    padding: var(--space-sm) 0;
    background: rgba(13, 17, 23, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo .logo-img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: all var(--transition-fast);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--gold-light);
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
}

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

.btn-outline:hover {
    background: rgba(212, 168, 75, 0.1);
    color: var(--gold-light);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--text-muted);
}

.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-price {
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.85em;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--space-4xl)) var(--space-lg) var(--space-4xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(212, 168, 75, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(212, 168, 75, 0.05) 0%, transparent 50%),
        var(--bg-gradient);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
}

.hero-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(212, 168, 75, 0.1);
    border: 1px solid rgba(212, 168, 75, 0.3);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease;
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-highlight {
    color: var(--gold);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.6s ease 0.3s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--text-muted);
    animation: fadeInUp 0.6s ease 0.5s both;
}

.hero-note svg {
    flex-shrink: 0;
    color: var(--success);
}

/* Floating Cards */
.hero-visual {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.floating-card .card-icon {
    font-size: 1.5rem;
}

.floating-card .card-text {
    display: flex;
    flex-direction: column;
}

.floating-card .card-text strong {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.floating-card .card-text span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.card-1 {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.card-2 {
    top: 35%;
    right: 5%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 35%;
    left: 8%;
    animation-delay: 2s;
}

.card-4 {
    bottom: 20%;
    right: 8%;
    animation-delay: 3s;
    border-color: rgba(212, 168, 75, 0.3);
}

.card-4 .card-text strong {
    color: var(--gold);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   PROBLEM/SOLUTION SECTION
   ======================================== */

.problem-solution {
    padding: var(--space-4xl) 0;
    background: var(--bg-darker);
}

.problem-solution .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.problem, .solution {
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
}

.problem {
    background: rgba(248, 81, 73, 0.05);
    border: 1px solid rgba(248, 81, 73, 0.2);
}

.solution {
    background: rgba(63, 185, 80, 0.05);
    border: 1px solid rgba(63, 185, 80, 0.2);
}

.problem h3, .solution h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

.problem h3 {
    color: var(--error);
}

.solution h3 {
    color: var(--success);
}

.problem-list, .solution-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.problem-list li, .solution-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    color: var(--text-secondary);
}

.problem-list .icon {
    color: var(--error);
    font-size: 1.1rem;
}

.solution-list .icon {
    color: var(--success);
    font-weight: bold;
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

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

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
    padding: var(--space-4xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    transition: all var(--transition-normal);
    grid-column: span 2; /* Default: each card spans 2 of 6 columns = 3 per row */
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(212, 168, 75, 0.2);
    transform: translateY(-4px);
}

.feature-large {
    grid-column: span 6; /* Full width */
}

/* Last two features in row of 5 - center them */
.features-grid .feature-card:nth-child(5),
.features-grid .feature-card:nth-child(6) {
    grid-column: span 3; /* Half width each, so 2 fill the row */
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--gold);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: var(--space-sm);
}

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

.feature-bullets {
    list-style: none;
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.feature-bullets li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding-left: var(--space-lg);
    position: relative;
}

.feature-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */

.how-it-works {
    padding: var(--space-4xl) 0;
    background: var(--bg-darker);
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.workflow-step {
    position: relative;
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.workflow-step:hover {
    border-color: rgba(212, 168, 75, 0.3);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: rgba(212, 168, 75, 0.2);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--gold);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.step-features span {
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(212, 168, 75, 0.1);
    color: var(--gold);
    border-radius: var(--radius-sm);
}

/* ========================================
   AGENTS SECTION
   ======================================== */

.agents {
    padding: var(--space-4xl) 0;
}

.agents-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.agent-tab {
    padding: var(--space-sm) var(--space-lg);
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.agent-tab:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.agent-tab.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--bg-dark);
}

.agent-panel {
    display: none;
}

.agent-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.agent-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.agent-flow .agent-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.agent-flow .flow-arrow {
    display: none; /* Hide arrows, using grid layout now */
}

.agent-flow.secondary {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--gold);
}

.agent-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.agent-card:hover {
    border-color: rgba(212, 168, 75, 0.3);
    transform: translateY(-2px);
}

.agent-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.agent-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
    color: var(--gold);
}

.agent-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.publishing-grid {
    grid-template-columns: repeat(2, 1fr);
}

.agent-card.large {
    text-align: left;
}

.agent-card.large .agent-icon {
    display: inline-block;
}

.agent-features {
    list-style: none;
    margin-top: var(--space-md);
    font-size: 0.85rem;
}

.agent-features li {
    padding: var(--space-xs) 0;
    color: var(--text-secondary);
}

.agent-features li::before {
    content: '✓ ';
    color: var(--gold);
}

/* ========================================
   GENRES SECTION
   ======================================== */

.genres {
    padding: var(--space-4xl) 0;
    background: var(--bg-darker);
}

.genre-categories {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.genre-category h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: var(--space-md);
}

.genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.genre-tags span {
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.genre-tags span:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.genre-note {
    margin-top: var(--space-md);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========================================
   BYOK SECTION
   ======================================== */

.byok {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, rgba(212, 168, 75, 0.05) 0%, transparent 100%);
}

.byok-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.byok-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--space-md);
}

.byok-text > p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.byok-benefits {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.byok-benefits li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

.byok-benefits svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--success);
    margin-top: 2px;
}

.byok-estimate {
    padding: var(--space-md);
    background: rgba(212, 168, 75, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}

.api-provider-single {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-3xl);
    background: var(--bg-card);
    border: 1px solid rgba(212, 168, 75, 0.3);
    border-radius: var(--radius-xl);
    text-align: center;
}

.provider-logo-large {
    width: 80px;
    height: 80px;
    color: var(--gold);
}

.provider-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
}

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

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing {
    padding: var(--space-4xl) 0;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-normal);
}

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

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(212, 168, 75, 0.15) 0%, var(--bg-card) 100%);
    border-color: var(--gold);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-xs) var(--space-md);
    background: var(--gold);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.pricing-amount {
    margin-bottom: var(--space-md);
}

.pricing-amount .price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--gold);
}

.pricing-amount .period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--space-xl);
}

.pricing-features li {
    padding: var(--space-sm) 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li::before {
    content: '✓ ';
    color: var(--gold);
}

.pricing-savings {
    margin-top: var(--space-sm);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pricing-note {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    max-width: 600px;
    margin: var(--space-2xl) auto 0;
    padding: var(--space-lg);
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid rgba(88, 166, 255, 0.3);
    border-radius: var(--radius-lg);
    text-align: left;
}

.pricing-note svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--info);
}

.pricing-note p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-note a {
    color: var(--info);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--bg-darker);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: var(--space-lg);
}

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

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-genre {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq {
    padding: var(--space-4xl) 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--gold);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: var(--space-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */

.final-cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(212, 168, 75, 0.1) 100%);
    text-align: center;
}

.final-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
}

.final-cta > p {
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.cta-buttons {
    margin-bottom: var(--space-md);
}

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

/* ========================================
   FOOTER
   ======================================== */

.footer {
    padding: var(--space-4xl) 0 var(--space-xl);
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: block;
    margin-bottom: var(--space-md);
}

.footer-logo-img {
    height: 80px;
    width: auto;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

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

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

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

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-large {
        grid-column: span 2;
    }
    
    .feature-card {
        grid-column: span 1;
    }
    
    .features-grid .feature-card:nth-child(5),
    .features-grid .feature-card:nth-child(6) {
        grid-column: span 1;
    }
    
    .workflow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .agent-flow.secondary {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .agent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid rgba(212, 168, 75, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding-top: calc(60px + var(--space-3xl));
    }
    
    .hero-stats {
        gap: var(--space-xl);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .problem-solution .container {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-large {
        grid-column: span 1;
    }
    
    .workflow-steps {
        grid-template-columns: 1fr;
    }
    
    .agents-tabs {
        flex-wrap: wrap;
    }
    
    .agent-flow {
        grid-template-columns: 1fr;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .agent-flow.secondary {
        grid-template-columns: 1fr;
    }
    
    .agent-grid {
        grid-template-columns: 1fr;
    }
    
    .publishing-grid {
        grid-template-columns: 1fr;
    }
    
    .byok-content {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
}
