/* ===== BASE ===== */
:root {
    --bg: #09090b;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-border: rgba(255, 255, 255, 0.06);
    --text: #fafafa;
    --text-muted: #71717a;
    --accent: #6d5cff;
    --accent-2: #00d4ff;
    --gradient: linear-gradient(135deg, #6d5cff, #00d4ff);
    --gradient-text: linear-gradient(135deg, #818cf8, #6d5cff, #00d4ff, #34d399);
    --radius: 16px;
    --radius-sm: 10px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', monospace;

    /* Rock color (default: granite gray) */
    --rock-hi: #9ca3af;
    --rock-mid: #6b7280;
    --rock-lo: #4b5563;
    --rock-shadow: #374151;
    --rock-glow: rgba(109, 92, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

/* ===== UTILITY ===== */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== ANNOUNCEMENT BAR ===== */
#announcement-bar {
    background: var(--gradient);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 0;
    text-align: center;
    letter-spacing: 0.02em;
}

.ann-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    margin-left: 4px;
}

.ann-link:hover { color: #fff; opacity: .85; }

/* ===== NAVBAR ===== */
#mainNav {
    background: rgba(9, 9, 11, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 0;
    transition: background .3s;
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
}

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

.nav-link-custom {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color .2s;
}
.nav-link-custom:hover { color: var(--text); }

.btn-glow {
    background: var(--gradient);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    transition: all .3s;
    position: relative;
}

.btn-glow:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(109, 92, 255, 0.4);
    color: #fff;
}

/* ===== HERO ===== */
#hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    pointer-events: none;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    left: -100px;
    animation: orbFloat1 12s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-2);
    top: -100px;
    right: -200px;
    animation: orbFloat2 15s ease-in-out infinite;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #34d399;
    bottom: -50px;
    left: 40%;
    animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, 30px); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 40px); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -30px); }
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #34d399;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
    50% { opacity: .7; box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn-outline-light {
    border-radius: 50px;
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text);
    font-weight: 600;
}
.hero-cta .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.hero-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 50px;
}

/* ===== ROCK SHOWCASE ===== */
.rock-showcase {
    margin-top: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.rock-platform {
    position: relative;
    display: inline-block;
}

.rock-ambient-light {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(109, 92, 255, 0.15) 0%, transparent 70%);
    animation: ambientPulse 4s ease-in-out infinite;
}

@keyframes ambientPulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

.rock-body {
    position: relative;
    width: 260px;
    height: 220px;
    margin: 0 auto;
    animation: rockFloat 6s ease-in-out infinite;
}

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

.rock-shape {
    width: 260px;
    height: 200px;
    background: linear-gradient(145deg, var(--rock-hi) 0%, var(--rock-mid) 35%, var(--rock-lo) 70%, var(--rock-shadow) 100%);
    border-radius: 55% 50% 50% 48% / 60% 55% 50% 45%;
    position: absolute;
    bottom: 0;
    box-shadow:
        inset -15px -15px 30px rgba(0, 0, 0, 0.3),
        inset 8px 8px 20px rgba(255, 255, 255, 0.08),
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 0 60px var(--rock-glow);
    transition: background 1.5s ease, box-shadow 1.5s ease;
}

.rock-shape::before {
    content: '';
    position: absolute;
    top: 12%;
    left: 12%;
    width: 35%;
    height: 22%;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    transform: rotate(-15deg);
}

.rock-reflection {
    width: 180px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(109, 92, 255, 0.15) 0%, transparent 70%);
    margin: 15px auto 0;
    border-radius: 50%;
    animation: reflectionPulse 6s ease-in-out infinite;
}

@keyframes reflectionPulse {
    0%, 100% { transform: scaleX(1); opacity: 1; }
    50% { transform: scaleX(0.85); opacity: 0.5; }
}

.rock-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 16px;
    letter-spacing: 0.05em;
}

/* ===== EYES ===== */
.eye {
    position: absolute;
    z-index: 3;
}

.left-eye { top: 20px; left: 55px; }
.right-eye { top: 12px; right: 55px; }

.eye-white {
    width: 52px;
    height: 52px;
    background: radial-gradient(circle at 40% 35%, #fff 0%, #e5e7eb 100%);
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(0, 0, 0, 0.2);
}

.pupil {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at 35% 35%, #1f2937 0%, #000 100%);
    border-radius: 50%;
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    transition: all .1s ease-out;
}

.pupil::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 5px;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
}

/* Mini rock (order section) */
.rock-body.mini { width: 180px; height: 155px; }
.rock-body.mini .rock-shape { width: 180px; height: 140px; }
.mini-eye.left-eye { top: 14px; left: 36px; }
.mini-eye.right-eye { top: 8px; right: 36px; }
.mini-white { width: 38px; height: 38px; }
.mini-pupil { width: 15px; height: 15px; }

/* Tiny rock (modal) */
.rock-body.tiny { width: 100px; height: 85px; margin: 0 auto; }
.rock-body.tiny .rock-shape { width: 100px; height: 78px; }
.tiny-eye.left-eye { top: 8px; left: 18px; }
.tiny-eye.right-eye { top: 4px; right: 18px; }
.tiny-white { width: 22px; height: 22px; }
.tiny-pupil { width: 9px; height: 9px; }

/* ===== TRUST BAR ===== */
#trust-bar {
    padding: 60px 0;
    border-top: 1px solid var(--bg-card-border);
    border-bottom: 1px solid var(--bg-card-border);
}

.trust-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 24px;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    align-items: center;
}

.trust-logo {
    font-family: var(--mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.04em;
    transition: color .3s;
}

.trust-logo:hover { color: rgba(255, 255, 255, 0.5); }

.trust-disclaimer {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 20px;
    opacity: 0.6;
}

/* ===== SECTIONS ===== */
section {
    padding: 100px 0;
}

.section-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--accent);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-top: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 12px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius);
    padding: 32px 28px;
    height: 100%;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
}

.feature-card:hover {
    border-color: rgba(109, 92, 255, 0.2);
    background: rgba(109, 92, 255, 0.04);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.feature-icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    border-radius: 12px;
    margin-bottom: 20px;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.feature-stat {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--accent-2);
    letter-spacing: 0.03em;
    font-weight: 500;
}

/* ===== QUOTE ===== */
#quote-section {
    padding: 80px 0;
    border-top: 1px solid var(--bg-card-border);
    border-bottom: 1px solid var(--bg-card-border);
}

.big-quote {
    font-size: clamp(1.6rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    border: none;
    margin: 0;
    padding: 0;
}

.quote-attr {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
}

/* ===== TERMINAL ===== */
.terminal-window {
    background: #0c0c0f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-left: 8px;
}

.terminal-body {
    padding: 20px 24px;
    font-family: var(--mono);
    font-size: 0.82rem;
    line-height: 1.8;
    color: #a3e635;
    min-height: 320px;
}

.terminal-body pre {
    margin: 0;
    white-space: pre-wrap;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
}

/* ===== COMPARISON ===== */
.comparison-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.comparison-table {
    color: var(--text);
    margin: 0;
}

.comparison-table thead th {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--bg-card-border);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    padding: 16px 20px;
}

.comparison-table tbody td {
    border-bottom: 1px solid var(--bg-card-border);
    padding: 14px 20px;
    font-size: 0.88rem;
    vertical-align: middle;
}

.comparison-table tbody tr:last-child td { border-bottom: none; }

.comparison-table tbody tr {
    transition: background .2s;
}
.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.col-winner {
    background: rgba(109, 92, 255, 0.06) !important;
}

.c-bad { color: #f87171!important; }
.c-good { color: #34d399!important; font-weight: 600; }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius);
    padding: 28px;
    height: 100%;
    transition: all .3s;
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.testimonial-stars {
    color: #fbbf24;
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.65;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.author-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0;
}

.author-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===== ORDER ===== */
.order-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 24px;
    padding: 60px 48px;
    position: relative;
    overflow: hidden;
}

.order-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(109, 92, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.order-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.pricing {
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
}

.price-old {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-current {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.order-rock-mini {
    animation: rockFloat 6s ease-in-out infinite;
}

/* ===== FOOTER ===== */
footer {
    padding: 48px 0;
    border-top: 1px solid var(--bg-card-border);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.footer-deftower-link {
    display: inline-block;
    transition: opacity .3s;
}

.footer-deftower-link:hover { opacity: 0.7; }

.footer-deftower-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(0.6);
    transition: filter .3s;
}

.footer-deftower-link:hover .footer-deftower-logo {
    filter: brightness(0) invert(1);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0 0 6px;
    line-height: 1.6;
}

.footer-disclaimer {
    opacity: 0.6;
}

/* ===== MODAL ===== */
.glass-modal {
    background: rgba(15, 15, 20, 0.92);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text);
}

.glass-modal h3 {
    font-size: 2rem;
    font-weight: 800;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    section { padding: 70px 0; }

    .rock-body { width: 180px; height: 155px; }
    .rock-shape { width: 180px !important; height: 140px !important; }
    .left-eye { left: 36px !important; }
    .right-eye { right: 36px !important; }
    .eye-white { width: 40px; height: 40px; }
    .pupil { width: 16px; height: 16px; }

    .order-card { padding: 36px 24px; }
    .pricing { justify-content: center; }

    .trust-logos { gap: 20px; }
}
