/* ============================================
   ABOT KAYA — Base Styles (Bold Redesign)
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--color-text-body);
    background-color: var(--color-bg-darker);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ---- Selection Styling ---- */
::selection {
    background: rgba(81, 2, 156, 0.35);
    color: var(--pure-white);
}

::-moz-selection {
    background: rgba(81, 2, 156, 0.35);
    color: var(--pure-white);
}

/* ---- Typography ---- */
h1, h2 {
    font-family: var(--font-heading);
    font-weight: 400; /* Archivo Black is inherently bold */
}

h3, h4, h5, h6 {
    font-family: var(--font-subheading);
    font-weight: 700; /* Bold */
}

h1, h2, h3, h4, h5, h6 {
    line-height: var(--leading-tight);
    color: var(--color-primary-dark);
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

h1 { font-size: var(--text-4xl); letter-spacing: -0.03em; }
h2 { font-size: var(--text-3xl); letter-spacing: -0.02em; }
h3 { font-size: var(--text-2xl); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: var(--text-xl); font-weight: 700; }
h5 { font-size: var(--text-lg); font-weight: 700; }

@media (min-width: 768px) {
    h1 { font-size: var(--text-6xl); }
    h2 { font-size: var(--text-4xl); }
    h3 { font-size: var(--text-3xl); }
}

p {
    margin-bottom: var(--space-5);
    color: var(--color-text-body);
    font-size: 1.125rem;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-hover);
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
}

/* ---- Utility Classes ---- */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }
.text-white { color: var(--white); }
.text-warning { color: var(--color-warning); }
.text-gold { color: var(--color-gold); }

/* Gradient text — the signature effect */
.text-gradient,
h1 .text-gradient,
h2 .text-gradient,
h3 .text-gradient,
h4 .text-gradient,
p .text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.text-gradient-gold,
h1 .text-gradient-gold,
h2 .text-gradient-gold,
h3 .text-gradient-gold {
    background: var(--gradient-gold-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.text-gradient-purple,
h1 .text-gradient-purple,
h2 .text-gradient-purple {
    background: var(--gradient-purple-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Glow text */
.text-glow {
    text-shadow: 0 0 20px rgba(81, 2, 156, 0.4), 0 0 40px rgba(81, 2, 156, 0.15);
}

.text-glow-gold {
    text-shadow: 0 0 20px rgba(246, 168, 15, 0.4), 0 0 40px rgba(246, 168, 15, 0.15);
}

/* ---- Background Utilities ---- */
.bg-dark { background-color: var(--color-bg-dark); }
.bg-darker { background-color: var(--color-bg-darker); }
.bg-light { background-color: var(--color-bg-light); color: var(--color-text-body); }
.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6 {
    color: var(--color-text-light);
}

/* ---- Section ---- */
.section {
    padding: var(--space-16) 0;
    position: relative;
}

@media (min-width: 768px) {
    .section {
        padding: var(--space-24) 0;
    }
}

/* Section divider — gradient line between sections */
.section + .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(80%, 900px);
    height: 1px;
    background: var(--gradient-section-divider);
    opacity: 0.4;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ---- Scroll Reveal Utility ---- */
.reveal-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.25s ease-out;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Floating Action Button ---- */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10000; /* Increased to ensure it floats above most things */
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.fab-container.has-cookie-banner {
    bottom: 6rem;
}
.fab-btn {
    pointer-events: auto;
    background: var(--purple-600);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px -5px rgba(81, 2, 156, 0.4), 0 8px 10px -6px rgba(81, 2, 156, 0.1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
}
.fab-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background: var(--purple-700);
    color: white;
    box-shadow: 0 20px 25px -5px rgba(81, 2, 156, 0.5), 0 8px 10px -6px rgba(81, 2, 156, 0.1);
}

/* ---- Hover Effects & Parallax ---- */
.hover-zoom {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-zoom:hover {
    transform: scale(1.03);
}

/* ---- Social Proof Ticker ---- */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--gray-900);
    padding: 1rem 0;
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ticker {
    display: inline-block;
    white-space: nowrap;
    padding-right: 100%;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-name: ticker;
    animation-duration: 40s;
}
.ticker-item {
    display: inline-block;
    padding: 0 2rem;
    font-size: var(--text-lg);
    font-weight: 600;
    color: rgba(255,255,255,0.8);
}
.ticker-item span {
    color: var(--gold-400);
    margin-right: 0.5rem;
}
@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

