
:root {
    --primary-color: #111111;
    --primary-dark: #1a1a1a;
    --secondary-color: #111111;
    --accent-color: #9ca3af;
    --muted-color: #6b7280;
    --bg-light: #f9fafb;
    --line-color: #e5e7eb;
    --shadow: 0 18px 45px rgba(17, 17, 17, 0.09);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--secondary-color);
    background: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .navbar-brand, .hero-eyebrow, .hero-proof strong, .hero-float-card strong { font-family: 'Space Grotesk', sans-serif; }

.navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 1px 0 rgba(16, 32, 63, 0.08);
    padding: 13px 0;
    backdrop-filter: blur(14px);
}

.navbar-brand img { height: 42px; width: auto; }
.navbar-toggler { border: 0; padding: 8px; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(18, 71, 214, 0.15); }

.nav-link {
    position: relative;
    font-size: 0.91rem;
    font-weight: 600;
    color: var(--secondary-color) !important;
    margin: 0 8px;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 2px;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:hover, .nav-link.active { color: var(--primary-color) !important; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.btn {
    border-radius: 9px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary-color); border-color: var(--primary-color); padding: 11px 22px; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); box-shadow: 0 10px 20px rgba(18, 71, 214, 0.2); }
.btn-outline-primary { color: var(--primary-color); border-color: #d1d5db; }
.btn-outline-primary:hover { background: var(--primary-color); border-color: var(--primary-color); }
.hero-icon-button { display: inline-flex; align-items: center; gap: 0; min-height: 42px; padding: 10px 13px; overflow: hidden; }
.hero-icon-button i { width: 16px; text-align: center; flex: 0 0 16px; }
.hero-icon-button .button-label { display: inline-block; max-width: 0; margin-left: 0; overflow: hidden; opacity: 0; white-space: nowrap; transition: max-width 0.25s ease, margin-left 0.25s ease, opacity 0.2s ease; }
.hero-icon-button:hover .button-label, .hero-icon-button:focus-visible .button-label { max-width: 220px; margin-left: 8px; opacity: 1; }
.hero-demo .hero-icon-button { background: var(--primary-color); border-color: var(--primary-color); }
.hero-demo .hero-icon-button:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.hero-section {
    position: relative;
    padding: 112px 0 96px;
    background: radial-gradient(circle at 92% 15%, rgba(156, 163, 175, 0.2), transparent 26%), radial-gradient(circle at 5% 85%, rgba(17, 17, 17, 0.08), transparent 25%), linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
}
.hero-section::before { content: 'KAVEN / DIGITAL ASSET BOOSTER'; position: absolute; top: 34px; right: 4%; color: rgba(17, 17, 17, 0.16); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.18em; }
.hero-copy { position: relative; z-index: 2; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 19px; color: var(--primary-color); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-color); box-shadow: 0 0 0 5px rgba(255, 183, 3, 0.18); }
.hero-title { max-width: 650px; font-size: clamp(2.5rem, 5vw, 4.4rem); font-weight: 700; line-height: 1.03; letter-spacing: -0.045em; margin-bottom: 24px; color: var(--secondary-color); }
.hero-title em { color: var(--primary-color); font-style: normal; position: relative; white-space: nowrap; }
.hero-title em::after { content: ''; position: absolute; left: 2px; right: 0; bottom: -7px; height: 7px; background: var(--accent-color); opacity: 0.8; transform: skewX(-20deg); z-index: -1; }
.hero-subtitle { max-width: 590px; font-size: 1.12rem; line-height: 1.8; color: var(--muted-color); margin-bottom: 32px; }
.hero-proof { display: flex; gap: 25px; margin-top: 38px; padding-top: 21px; border-top: 1px solid rgba(16, 32, 63, 0.13); }
.hero-proof div { display: flex; align-items: center; gap: 9px; }
.hero-proof strong { color: var(--primary-color); font-size: 1.25rem; }
.hero-proof span { color: var(--muted-color); font-size: 0.7rem; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-visual-wrap { position: relative; z-index: 1; }
.hero-visual { position: relative; max-width: 560px; margin-left: auto; padding: 15px 0 35px 22px; }
.hero-visual::before { content: ''; position: absolute; inset: 0 0 20px 22px; border: 1px solid rgba(18, 71, 214, 0.2); border-radius: 19px; transform: rotate(-4deg); }
.hero-visual-label { position: absolute; top: -5px; left: 2px; z-index: 2; padding: 10px 13px; background: var(--secondary-color); color: #fff; border-radius: 8px; font: 600 0.72rem 'Space Grotesk', sans-serif; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 10px 20px rgba(17, 17, 17, 0.18); }
.hero-visual-label i { color: var(--accent-color); margin-right: 6px; }
.hero-visual-label span { display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-radius: 50%; background: #49d78f; }
.hero-section img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1.2; object-fit: cover; border: 10px solid #fff; box-shadow: var(--shadow) !important; transform: rotate(1.5deg); transition: transform 0.35s ease; }
.hero-section img:hover { transform: rotate(0) scale(1.02); }
.hero-float-card { position: absolute; right: -12px; bottom: 3px; z-index: 3; width: 175px; padding: 16px; background: #fff; border: 1px solid var(--line-color); border-radius: 12px; box-shadow: var(--shadow); transition: transform 0.3s ease; }
.hero-float-card:hover { transform: translateY(-6px) rotate(-2deg); }
.float-card-top { display: flex; align-items: center; gap: 6px; color: var(--muted-color); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #18a66d; box-shadow: 0 0 0 4px rgba(24, 166, 109, 0.12); }
.hero-float-card strong { display: block; margin: 8px 0 7px; color: var(--secondary-color); font-size: 1.65rem; }
.float-progress { height: 5px; margin-bottom: 8px; overflow: hidden; background: #e8edf5; border-radius: 5px; }
.float-progress span { display: block; width: 76%; height: 100%; background: var(--accent-color); border-radius: inherit; animation: pulse-progress 2.8s ease-in-out infinite alternate; }
.hero-float-card small { color: var(--muted-color); font-size: 0.68rem; }
@keyframes pulse-progress { from { width: 62%; } to { width: 82%; } }

.section-title { font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; text-align: center; }
.section-subtitle { max-width: 680px; margin: 0 auto 46px; text-align: center; color: var(--muted-color); line-height: 1.7; }
.process-card, .pricing-card, .service-card { border: 1px solid var(--line-color); background: #fff; box-shadow: 0 8px 26px rgba(16, 32, 63, 0.04); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.process-card { text-align: center; padding: 34px 28px; border-radius: 14px; height: 100%; }
.process-card:hover, .service-card:hover, .pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: #b8c8f5; }
.process-icon { width: 72px; height: 72px; background: #eaf0ff; color: var(--primary-color); border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; margin: 0 auto 22px; }
.process-card h4, .service-card h3 { font-weight: 800; }
.process-card p, .service-card p { line-height: 1.75; }

.pricing-card { border-radius: 14px; padding: 38px 30px; position: relative; height: 100%; display: flex; flex-direction: column; }
.pricing-card.popular { border: 2px solid var(--primary-color); box-shadow: 0 18px 45px rgba(18, 71, 214, 0.15); }
.popular-badge { position: absolute; top: -14px; right: 24px; background: var(--accent-color); color: var(--secondary-color); padding: 6px 14px; border-radius: 6px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.price { font-size: 2.35rem; font-weight: 800; color: var(--secondary-color); margin: 18px 0; }
.price span { font-size: 0.9rem; color: var(--muted-color); font-weight: 500; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 30px; }
.feature-list li { padding: 11px 0; border-bottom: 1px solid #eef1f6; display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.feature-list li i { color: #18a66d; margin-top: 4px; }

.service-card { border-radius: 14px !important; padding: 34px !important; }
.service-card > div:first-child { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; background: #eaf0ff; border-radius: 14px; font-size: 2rem !important; }
.affiliate-section, .free-service-section { padding: 92px 0; }
.affiliate-section { background: radial-gradient(circle at 8% 10%, rgba(255, 183, 3, 0.12), transparent 24%), var(--bg-light); }
.free-service-section { background: linear-gradient(125deg, var(--primary-dark), var(--primary-color)); color: #fff; }
.free-service-section .section-title, .free-service-section .section-subtitle { color: #fff; }
.free-service-section .bg-white { border-radius: 14px !important; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18) !important; }

.another-project-section {
    background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
    padding-top: 90px;
    padding-bottom: 90px;
}

.project-card {
    background: #fff;
    border: 1px solid var(--line-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(16, 32, 63, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: #bfd0ff;
    box-shadow: var(--shadow);
}

.project-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 18px 0;
}

.project-thumb {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(18, 71, 214, 0.09);
    background: #eef4ff;
}

.project-body {
    padding: 22px 20px 24px;
}

.project-tag {
    display: inline-block;
    padding: 7px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: #edf3ff;
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-body h3 {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.project-body p {
    color: var(--muted-color);
    line-height: 1.75;
    margin-bottom: 0;
}

.footer { background: #1a1a1a; color: #fff; padding: 68px 0 30px; }
.footer p { color: #aab5c7 !important; line-height: 1.7; }
.footer a { color: #aab5c7; text-decoration: none; transition: color 0.2s ease; }
.footer a:hover { color: var(--accent-color); }
.footer h5 { font-size: 0.85rem; color: #fff !important; text-transform: uppercase; letter-spacing: 0.1em; }
.footer li { margin-bottom: 10px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 991.98px) {
    .navbar-collapse { padding: 18px 0 8px; }
    .nav-link { margin: 6px 0; }
    .nav-link::after { left: 0; right: auto; width: 28px; }
    .navbar-nav .btn { margin-top: 12px; width: 100%; }
    .hero-section { padding: 86px 0 70px; }
    .hero-section::before { display: none; }
}

@media (max-width: 575.98px) {
    .navbar-brand img { height: 35px; max-width: 205px; }
    .hero-title { font-size: 2.45rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-section .hero-icon-button { width: auto; }
    .hero-section img { border-width: 6px; }
    .hero-proof { gap: 13px; margin-top: 30px; }
    .hero-proof strong { font-size: 1.05rem; }
    .hero-proof span { font-size: 0.58rem; }
    .hero-visual { padding-left: 12px; }
    .hero-visual::before { left: 12px; }
    .hero-visual-label { left: -2px; }
    .hero-float-card { right: -3px; width: 155px; padding: 13px; }
    .container > .row.g-5 { margin-left: 0; margin-right: 0; }
    .service-card { padding: 26px !important; }
    .affiliate-section, .free-service-section { padding: 68px 0; }
    .footer { padding-top: 52px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
