/* ==========================================================================
   Apex Plugins - Sovereign Industrial Design System (styles.css)
   ========================================================================== */

:root {
    --bg-dark: #0D0D11;
    --bg-card: #17171C;
    --bg-card-hover: #202027;
    --border-glass: rgba(255, 159, 10, 0.2);
    --border-glass-hover: rgba(255, 159, 10, 0.5);
    
    --amber-primary: #FF9F0A;
    --amber-hover: #FFB340;
    --amber-glow: rgba(255, 159, 10, 0.3);
    
    --text-main: #F2F2F7;
    --text-muted: #9898A0;
    --text-dark: #636366;
    
    --crimson: #FF3B30;
    --green: #30D158;
    --blue: #0A84FF;
    
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--amber-primary), #E68A00);
    color: #000;
    box-shadow: 0 4px 20px var(--amber-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--amber-hover), var(--amber-primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255, 159, 10, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--amber-primary);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: rgba(255, 159, 10, 0.1);
    border-color: var(--amber-primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 17px;
    border-radius: 10px;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.strike-price {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 14px;
    margin-left: 4px;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 17, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.logo-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 159, 10, 0.18), rgba(255, 159, 10, 0.04));
    border: 1px solid var(--border-glass-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 159, 10, 0.2);
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-icon-box {
    border-color: var(--amber-primary);
    box-shadow: 0 6px 22px var(--amber-glow);
    transform: scale(1.05);
}

.logo-svg {
    width: 22px;
    height: 22px;
    color: var(--amber-primary);
}

.logo-brand-group {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-brand-name {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #FFFFFF 40%, var(--amber-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-brand-sub {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

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

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

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

.hero {
    position: relative;
    padding: 160px 0 100px 0;
    background: radial-gradient(circle at 50% 20%, rgba(255, 159, 10, 0.12) 0%, transparent 60%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 159, 10, 0.1);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    font-size: 13px;
    color: var(--amber-primary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--amber-primary);
    box-shadow: 0 0 8px var(--amber-primary);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #FFF, var(--amber-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto 36px auto;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-trust-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 60px;
}

/* UI MOCKUP PREVIEW */

.hero-ui-preview {
    margin-top: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px var(--amber-glow);
    overflow: hidden;
}

.ui-window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: #111115;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.window-title {
    font-size: 13px;
    color: var(--text-muted);
}

.window-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--amber-primary);
    background: rgba(255, 159, 10, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
}

.ui-mockup-frame {
    padding: 24px;
}

.ui-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: #000;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 159, 10, 0.2);
}

.header-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--amber-primary);
}

.header-prompt {
    font-style: italic;
    color: var(--text-muted);
    font-size: 14px;
}

.header-badge-live {
    font-size: 11px;
    font-weight: 700;
    background: var(--amber-primary);
    color: #000;
    padding: 2px 8px;
    border-radius: 4px;
}

.ui-visual-rig {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.rig-module {
    background: #111116;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.module-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--amber-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.knob-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    text-align: center;
}

.knob-item span {
    font-size: 11px;
    color: var(--text-muted);
    display: block;
    margin-top: 6px;
}

.knob-dial {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #25252D;
    border: 2px solid var(--amber-primary);
    margin: 0 auto;
    position: relative;
}

.knob-dial::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    width: 2px;
    height: 10px;
    background: var(--amber-primary);
    transform-origin: bottom center;
}

.knob-dial.val-80::after { transform: translateX(-50%) rotate(40deg); }
.knob-dial.val-65::after { transform: translateX(-50%) rotate(10deg); }
.knob-dial.val-50::after { transform: translateX(-50%) rotate(-30deg); }
.knob-dial.val-85::after { transform: translateX(-50%) rotate(50deg); }
.knob-dial.val-70::after { transform: translateX(-50%) rotate(20deg); }
.knob-dial.val-60::after { transform: translateX(-50%) rotate(0deg); }
.knob-dial.val-90::after { transform: translateX(-50%) rotate(60deg); }
.knob-dial.val-40::after { transform: translateX(-50%) rotate(-45deg); }
.knob-dial.val-55::after { transform: translateX(-50%) rotate(-10deg); }
.knob-dial.val-75::after { transform: translateX(-50%) rotate(30deg); }
.knob-dial.val-30::after { transform: translateX(-50%) rotate(-60deg); }

/* ==========================================================================
   PROMPT SIMULATOR SECTION
   ========================================================================== */

.section {
    padding: 100px 0;
}

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

.section-tag {
    font-size: 13px;
    font-weight: 700;
    color: var(--amber-primary);
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: block;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

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

.prompt-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.chip {
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-main);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.chip:hover, .chip.active {
    background: rgba(255, 159, 10, 0.15);
    border-color: var(--amber-primary);
    color: var(--amber-primary);
}

.prompt-display-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 32px;
}

.prompt-input-box {
    background: #0A0A0D;
    padding: 16px 24px;
    border-radius: 10px;
    border: 1px solid var(--amber-primary);
    font-family: monospace;
    font-size: 18px;
    color: var(--amber-primary);
    margin-bottom: 24px;
}

.prompt-prefix {
    font-weight: bold;
    margin-right: 12px;
}

.prompt-mapping-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.mapping-card {
    background: #111116;
    padding: 16px;
    border-radius: 10px;
}

.card-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.card-val {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 12px;
}

.progress-bar {
    height: 6px;
    background: #25252D;
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--amber-primary);
    transition: width 0.4s ease;
}

/* ==========================================================================
   AUDIO DEMOS SECTION
   ========================================================================== */

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

.audio-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s;
}

.audio-card:hover {
    border-color: var(--border-glass);
    transform: translateY(-2px);
}

.category-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

.category-badge.clean { background: rgba(48, 209, 88, 0.2); color: var(--green); }
.category-badge.crunch { background: rgba(255, 159, 10, 0.2); color: var(--amber-primary); }
.category-badge.heavy { background: rgba(255, 59, 48, 0.2); color: var(--crimson); }
.category-badge.synth { background: rgba(10, 132, 255, 0.2); color: var(--blue); }

.audio-info h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 4px;
}

.audio-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--amber-primary);
    border: none;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.play-btn:hover {
    transform: scale(1.08);
    background: var(--amber-hover);
}

.play-icon {
    width: 20px;
    height: 20px;
    margin-left: 2px;
}

/* ==========================================================================
   FEATURES GRID
   ========================================================================== */

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 32px;
    transition: all 0.25s;
}

.feature-card:hover {
    border-color: var(--amber-primary);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ==========================================================================
   SPECS SECTION
   ========================================================================== */

.specs-box {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
}

.specs-box h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 24px;
}

.daw-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.daw-tag {
    padding: 8px 16px;
    background: #111116;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: left;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
}

.spec-col h4 {
    font-size: 13px;
    color: var(--amber-primary);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.spec-col p {
    font-size: 14px;
    color: var(--text-muted);
}

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

.cta-section {
    background: linear-gradient(180deg, var(--bg-dark), #171510);
    text-align: center;
    border-top: 1px solid var(--border-glass);
}

.cta-container h2 {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-container p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 36px auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

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

.footer {
    background: #08080A;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 0 30px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 12px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    margin-bottom: 16px;
    color: var(--amber-primary);
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #FFF;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    font-size: 13px;
    color: var(--text-dark);
    text-align: center;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
    .hero-title { font-size: 40px; }
    .ui-visual-rig { grid-template-columns: 1fr; }
    .prompt-mapping-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .audio-grid { grid-template-columns: 1fr; }
    .specs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .nav-links { display: none; }
    .hero-cta-group, .cta-actions { flex-direction: column; }
    .features-grid { grid-template-columns: 1fr; }
    .specs-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
}
