@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500&display=swap');

:root {
    --primary-white: #FAFAFA;
    --soft-white: #F5F5F7;
    --deep-black: #0A0A0B;
    --neon-navy: #1E40FF;
    --navy-glow: rgba(30, 64, 255, 0.3);
    --navy-subtle: rgba(30, 64, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--primary-white);
    color: var(--deep-black);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 65px;
}

/* --- GDPR Cookie Banner Styles --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 24px;
    z-index: 10000;
    transform: translateY(120%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: space-between;
}

.cookie-banner-main {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.cookie-banner-text {
    color: var(--primary-white);
    min-width: 0;
    flex: 1;
}

.cookie-banner-text h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--primary-white);
}

.cookie-banner-text p {
    font-size: 0.85rem;
    color: rgba(250, 250, 250, 0.8);
    line-height: 1.4;
    margin: 0;
}

.cookie-banner-text a {
    color: var(--neon-navy);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.cookie-banner-text a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.cookie-toggles {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.cookie-toggle input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 36px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background: var(--primary-white);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider {
    background: var(--neon-navy);
    border-color: var(--neon-navy);
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(16px);
}

.cookie-toggle input[type="checkbox"]:disabled + .toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.toggle-label {
    font-size: 0.85rem;
    color: var(--primary-white);
    font-weight: 500;
}

.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-primary {
    background: var(--neon-navy);
    color: var(--primary-white);
}

.cookie-btn-primary:hover {
    background: #1630cc;
    transform: translateY(-1px);
}

.cookie-btn-secondary {
    background: transparent;
    color: rgba(250, 250, 250, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-white);
}

.cookie-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: rgba(250, 250, 250, 0.5);
    font-size: 18px;
    font-weight: 300;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.cookie-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-white);
}

/* Cookie Settings Floating Button */
.cookie-settings-floating {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-settings-floating.show {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.cookie-manage-btn {
    background: var(--deep-black);
    color: var(--primary-white);
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-manage-btn:hover {
    background: var(--neon-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 16px;
        left: 16px;
        right: 16px;
        padding: 16px 20px;
    }

    .cookie-banner-content {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .cookie-banner-main {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .cookie-toggles {
        gap: 12px;
    }

    .cookie-banner-actions {
        flex-direction: row;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        max-width: 140px;
    }

    .cookie-settings-floating {
        bottom: 20px;
        right: 20px;
    }

    .cookie-manage-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        bottom: 12px;
        left: 12px;
        right: 12px;
        padding: 14px 16px;
        border-radius: 12px;
    }

    .cookie-banner-text h3 {
        font-size: 0.9rem;
    }

    .cookie-banner-text p {
        font-size: 0.8rem;
    }

    .cookie-toggles {
        gap: 8px;
        flex-wrap: wrap;
    }

    .toggle-label {
        font-size: 0.8rem;
    }

    .cookie-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
        min-width: 80px;
    }

    .cookie-close {
        top: 8px;
        right: 8px;
        width: 20px;
        height: 20px;
        font-size: 16px;
    }
}

/* --- Back to Offer Button (Hidden - using menu instead) --- */
.back-to-offer-btn {
    display: none;
}

/* --- Navigation Bar --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
}

.nav-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--deep-black);
    text-decoration: none;
    transition: all 0.2s ease;
    text-shadow: 0 0 20px rgba(30, 64, 255, 0.15);
}

.nav-logo:hover {
    color: var(--neon-navy);
    text-shadow: 0 0 25px rgba(30, 64, 255, 0.3);
}

/* Hamburger Menu Button (hidden on desktop) */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--deep-black);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--deep-black);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--neon-navy);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* 🔥 ULTRA MODERN EXTRAVAGANT OFFER BUTTON */
.nav-offer-link {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 25%, #FFA500 50%, #FF6B6B 75%, #FF8E53 100%);
    background-size: 300% 100%;
    color: white !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 6px 20px rgba(255, 107, 107, 0.4),
        0 0 40px rgba(255, 107, 107, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: gradientShift 3s ease infinite, floatButton 3s ease-in-out infinite;
    overflow: hidden;
}

.nav-offer-link::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    animation: shimmer 2.5s infinite;
}

.nav-offer-link::after {
    display: none !important;
}

.nav-offer-link:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow:
        0 10px 30px rgba(255, 107, 107, 0.6),
        0 0 60px rgba(255, 107, 107, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    animation: gradientShift 1.5s ease infinite, floatButton 1.5s ease-in-out infinite, shake 0.5s ease;
}

.offer-icon {
    font-size: 1.1rem;
    animation: fireFlicker 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 140, 0, 0.8));
}

.offer-text {
    font-weight: 700;
    font-size: 0.95rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.offer-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #FF6B6B;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    letter-spacing: 0.5px;
    animation: badgePulse 1.5s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 🎨 ANIMATIONS */
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

@keyframes shimmer {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(50%, 50%) rotate(360deg); }
}

@keyframes fireFlicker {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 8px rgba(255, 140, 0, 0.8));
    }
    25% {
        transform: scale(1.15) rotate(-5deg);
        filter: drop-shadow(0 0 12px rgba(255, 69, 0, 1));
    }
    50% {
        transform: scale(1.1) rotate(5deg);
        filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.9));
    }
    75% {
        transform: scale(1.2) rotate(-3deg);
        filter: drop-shadow(0 0 14px rgba(255, 69, 0, 1));
    }
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes shake {
    0%, 100% { transform: translateY(-3px) scale(1.08) rotate(0deg); }
    25% { transform: translateY(-3px) scale(1.08) rotate(-2deg); }
    75% { transform: translateY(-3px) scale(1.08) rotate(2deg); }
}

/* Background effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, var(--navy-subtle) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, var(--navy-subtle) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, var(--navy-subtle) 0%, transparent 50%);
    z-index: -2;
    opacity: 0.4;
}

.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, transparent 20%, var(--primary-white) 20%, var(--primary-white) 80%, transparent 80%);
    background-size: 3px 3px;
    opacity: 0.03;
    z-index: -1;
    animation: grain 8s steps(10) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0) }
    25% { transform: translate(-1px, 1px) }
    50% { transform: translate(1px, -1px) }
    75% { transform: translate(-1px, -1px) }
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 65px);
    display: flex;
    align-items: center;
    position: relative;
    padding: 4rem 1rem;
    background: linear-gradient(135deg, var(--primary-white) 0%, var(--soft-white) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-main {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-image-container {
    position: relative;
    display: inline-block;
}

.hero-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--neon-navy);
    box-shadow: 0 20px 40px rgba(30, 64, 255, 0.3);
    animation: float 6s ease-in-out infinite;
}

/* Book Recommendations */
.book-recommendations {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(30, 64, 255, 0.2);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    width: 300px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 20px var(--navy-glow);
    backdrop-filter: blur(12px);
    text-align: center;
}

.book-recommendations h4 {
    font-weight: 600;
    color: var(--deep-black);
    margin-bottom: 1rem;
    font-size: 1rem;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.book-scroller-container {
    height: 80px;
    overflow: hidden;
    position: relative;
}

.book-scroller-container::before,
.book-scroller-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 25px;
    z-index: 2;
    pointer-events: none;
}

.book-scroller-container::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
}

.book-scroller-container::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
}

.book-scroller {
    position: absolute;
    width: 100%;
    animation: scrollUp 10s linear infinite;
}

.book-scroller span {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: rgba(10, 10, 11, 0.8);
    font-weight: 500;
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-75%); }
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.hero-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.greeting-wave {
    font-size: 3rem;
    animation: wave 2s ease-in-out infinite;
}

.hero-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-black);
    margin: 0;
    white-space: nowrap;
}

.name-highlight {
    color: var(--neon-navy);
    position: relative;
}

.name-highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--neon-navy), #4F8CFF);
    border-radius: 2px;
}

.main-desc {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(10, 10, 11, 0.8);
    margin: 0;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    align-items: flex-start;
}

.location {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(10, 10, 11, 0.7);
}

.quote-status {
    font-size: 1rem;
    font-weight: 500;
    font-style: italic;
    color: #9B2226;
    line-height: 1.4;
}

.book-counter {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 0.8s both;
}

.book-icon {
    font-size: 1.2rem;
    animation: bookPulse 2s ease-in-out infinite;
}

.book-text {
    font-size: 0.95rem;
    color: rgba(10, 10, 11, 0.8);
    font-weight: 500;
}

.book-number {
    color: var(--neon-navy);
    font-weight: 700;
    font-size: 1.1rem;
}

@keyframes bookPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-navy);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(10, 10, 11, 0.6);
    font-weight: 500;
}

.stat-label .ampersand {
    font-family: Georgia, serif;
    color: var(--neon-navy);
    font-weight: 600;
    font-size: 1.1em;
    margin: 0 0.2em;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--neon-navy), #4F8CFF);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 64, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 64, 255, 0.4);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.hero-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--neon-navy);
    color: white;
    transform: translateY(-2px);
}

/* Mini badges rotating animation */
.mini-badges {
    position: absolute;
    bottom: 0.5rem;
    right: 1.5rem;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s ease-out 1.2s both, rotateClockwise 20s linear infinite;
}

.mini-badge {
    position: absolute;
    font-size: 2rem;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: default;
    top: 50%;
    left: 50%;
}

.mini-badge:hover {
    z-index: 9999;
    transform: translateY(-2px) scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

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

.mini-badge:nth-child(1) {
    animation: floatSmall 4s ease-in-out infinite, counterRotate1 20s linear infinite;
}

.mini-badge:nth-child(2) {
    animation: floatSmall 4s ease-in-out infinite 0.8s, counterRotate2 20s linear infinite;
}

.mini-badge:nth-child(3) {
    animation: floatSmall 4s ease-in-out infinite 1.6s, counterRotate3 20s linear infinite;
}

.mini-badge:nth-child(4) {
    animation: floatSmall 4s ease-in-out infinite 2.4s, counterRotate4 20s linear infinite;
}

.mini-badge:nth-child(5) {
    animation: floatSmall 4s ease-in-out infinite 3.2s, counterRotate5 20s linear infinite;
}

.mini-badge:nth-child(6) {
    animation: floatSmall 4s ease-in-out infinite 4s, counterRotate6 20s linear infinite;
}

@keyframes counterRotate1 {
    from { transform: translate(-50%, -50%) translate(0px, -90px) rotate(0deg); }
    to { transform: translate(-50%, -50%) translate(0px, -90px) rotate(-360deg); }
}

@keyframes counterRotate2 {
    from { transform: translate(-50%, -50%) translate(78px, -45px) rotate(0deg); }
    to { transform: translate(-50%, -50%) translate(78px, -45px) rotate(-360deg); }
}

@keyframes counterRotate3 {
    from { transform: translate(-50%, -50%) translate(78px, 45px) rotate(0deg); }
    to { transform: translate(-50%, -50%) translate(78px, 45px) rotate(-360deg); }
}

@keyframes counterRotate4 {
    from { transform: translate(-50%, -50%) translate(0px, 90px) rotate(0deg); }
    to { transform: translate(-50%, -50%) translate(0px, 90px) rotate(-360deg); }
}

@keyframes counterRotate5 {
    from { transform: translate(-50%, -50%) translate(-78px, 45px) rotate(0deg); }
    to { transform: translate(-50%, -50%) translate(-78px, 45px) rotate(-360deg); }
}

@keyframes counterRotate6 {
    from { transform: translate(-50%, -50%) translate(-78px, -45px) rotate(0deg); }
    to { transform: translate(-50%, -50%) translate(-78px, -45px) rotate(-360deg); }
}

@keyframes rotateClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mini-badge::before {
    content: attr(title);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--deep-black);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10000;
}

.mini-badge::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--deep-black);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
}

.mini-badge:hover::before,
.mini-badge:hover::after {
    opacity: 1;
    visibility: visible;
}

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

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

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

/* About Section */
.about-section {
    padding: 4rem 1rem;
    background: linear-gradient(135deg, #0A0A0B 0%, #1A1A1D 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-navy), transparent);
    box-shadow: 0 0 20px var(--navy-glow);
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    color: var(--primary-white);
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-white), #E0E0E0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-header p {
    font-size: 1rem;
    color: rgba(250, 250, 250, 0.8);
    max-width: 500px;
    margin: 0 auto;
}

.about-story-main {
    background: rgba(30, 64, 255, 0.08);
    border: 1px solid rgba(30, 64, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    text-align: center;
}

.about-story-main p {
    margin-bottom: 1.5rem;
    color: rgba(250, 250, 250, 0.9);
    line-height: 1.7;
    font-size: 1.1rem;
}

.about-story-main p:last-child {
    margin-bottom: 0;
}

.about-story-main strong {
    color: var(--primary-white);
    text-shadow: 0 0 10px rgba(30, 64, 255, 0.5);
}

/* Skills Section */
.skills-section {
    padding: 3rem 1rem;
    background: var(--soft-white);
}

.skills-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.skills-header {
    text-align: center;
    margin-bottom: 2rem;
}

.skills-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--deep-black);
    margin-bottom: 0.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.skill-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.skill-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.skill-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--deep-black);
}

.skill-card p {
    font-size: 0.9rem;
    color: rgba(10, 10, 11, 0.7);
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 4rem 1rem;
    background: var(--primary-white);
}

.contact-container {
    max-width: 500px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    min-width: 400px;
}

.contact-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--deep-black);
}

.contact-description {
    color: rgba(10, 10, 11, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.email-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--neon-navy);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 64, 255, 0.3);
}

.email-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 255, 0.4);
}

.contact-divider {
    margin: 2rem 0;
    color: rgba(10, 10, 11, 0.5);
    font-size: 0.9rem;
    position: relative;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.contact-divider::before {
    left: 0;
}

.contact-divider::after {
    right: 0;
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.05);
    color: var(--deep-black);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-button.linkedin:hover {
    background: #0077B5;
    color: white;
    transform: translateY(-2px);
}

.social-button.instagram:hover {
    background: linear-gradient(45deg, #E1306C, #F56040);
    color: white;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 3rem 1rem;
    background: var(--deep-black);
    border-top: 1px solid rgba(30, 64, 255, 0.1);
    text-align: center;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
}

.footer p {
    color: rgba(250, 250, 250, 0.6);
    font-size: 0.9rem;
}

/* Scroll animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
}

@keyframes ripple-animation {
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* Mobile Responsive - IMPROVED */
@media (max-width: 1024px) {
    .hero-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-left {
        order: 1;
    }

    .hero-right {
        order: 2;
        align-items: center;
        text-align: center;
    }

    .hero-header {
        justify-content: center;
    }

    .location-info {
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .mini-badges {
        position: static;
        margin: 2rem auto 0;
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .back-to-offer-btn {
        top: auto;
        bottom: 2rem;
        right: 1rem;
        transform: none;
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }

    .back-to-offer-btn:hover {
        transform: scale(1.05);
    }

    .main-nav {
        padding: 0.5rem 1rem;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: flex;
    }

    /* Hide menu by default on mobile */
    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 60px);
        background: rgba(250, 250, 250, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: flex-start;
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu li a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
    }

    .nav-menu li a::after {
        display: none;
    }

    .nav-offer-link {
        margin: 1rem 2rem !important;
        width: calc(100% - 4rem) !important;
        justify-content: center !important;
        padding: 0.75rem 1.5rem !important;
    }

    .offer-text {
        font-size: 0.95rem;
    }

    .offer-icon {
        font-size: 1.1rem;
    }

    .offer-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
    }

    .hero {
        padding: 2rem 1rem;
        min-height: auto;
    }

    .hero-main {
        gap: 2rem;
    }

    .hero-image {
        width: 200px;
        height: 200px;
    }

    .book-recommendations {
        width: 100%;
        max-width: 320px;
    }

    .hero-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .greeting-wave {
        font-size: 2.5rem;
    }

    .hero-header h1 {
        font-size: 1.8rem;
        white-space: normal;
        text-align: center;
    }

    .main-desc {
        font-size: 1rem;
        text-align: center;
    }

    .location-info {
        align-items: center;
        text-align: center;
    }

    .quote-status {
        text-align: center;
    }

    .book-counter {
        margin: 1rem auto;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }

    .stat-item {
        min-width: 100px;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .btn-primary {
        justify-content: center;
    }

    .hero-social {
        justify-content: center;
    }

    .mini-badges {
        width: 180px;
        height: 180px;
    }

    .mini-badge {
        font-size: 1.5rem;
        width: 45px;
        height: 45px;
    }

    @keyframes counterRotate1 {
        from { transform: translate(-50%, -50%) translate(0px, -70px) rotate(0deg); }
        to { transform: translate(-50%, -50%) translate(0px, -70px) rotate(-360deg); }
    }

    @keyframes counterRotate2 {
        from { transform: translate(-50%, -50%) translate(60px, -35px) rotate(0deg); }
        to { transform: translate(-50%, -50%) translate(60px, -35px) rotate(-360deg); }
    }

    @keyframes counterRotate3 {
        from { transform: translate(-50%, -50%) translate(60px, 35px) rotate(0deg); }
        to { transform: translate(-50%, -50%) translate(60px, 35px) rotate(-360deg); }
    }

    @keyframes counterRotate4 {
        from { transform: translate(-50%, -50%) translate(0px, 70px) rotate(0deg); }
        to { transform: translate(-50%, -50%) translate(0px, 70px) rotate(-360deg); }
    }

    @keyframes counterRotate5 {
        from { transform: translate(-50%, -50%) translate(-60px, 35px) rotate(0deg); }
        to { transform: translate(-50%, -50%) translate(-60px, 35px) rotate(-360deg); }
    }

    @keyframes counterRotate6 {
        from { transform: translate(-50%, -50%) translate(-60px, -35px) rotate(0deg); }
        to { transform: translate(-50%, -50%) translate(-60px, -35px) rotate(-360deg); }
    }

    .about-section {
        padding: 3rem 1rem;
    }

    .about-header h2 {
        font-size: 1.8rem;
    }

    .about-story-main {
        padding: 1.5rem;
    }

    .about-story-main p {
        font-size: 1rem;
    }

    .skills-section {
        padding: 2.5rem 1rem;
    }

    .skills-header h2 {
        font-size: 1.8rem;
    }

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

    .contact-section {
        padding: 3rem 1rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
        min-width: auto;
    }

    .contact-social {
        flex-direction: column;
        align-items: stretch;
    }

    .social-button {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .main-nav ul {
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: 1.5rem 0.75rem;
    }

    .hero-image {
        width: 180px;
        height: 180px;
        border: 4px solid var(--neon-navy);
    }

    .book-recommendations {
        width: 100%;
        padding: 0.75rem 1rem;
    }

    .book-recommendations h4 {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .book-scroller span {
        font-size: 0.85rem;
    }

    .hero-header h1 {
        font-size: 1.5rem;
    }

    .greeting-wave {
        font-size: 2rem;
    }

    .main-desc {
        font-size: 0.95rem;
    }

    .location,
    .quote-status {
        font-size: 0.9rem;
    }

    .book-counter {
        padding: 0.5rem 1rem;
    }

    .book-text {
        font-size: 0.85rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .btn-primary {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .mini-badges {
        display: none;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .about-header h2,
    .skills-header h2 {
        font-size: 1.5rem;
    }

    .contact-card h2 {
        font-size: 1.5rem;
    }

    .email-button {
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }

    .social-button {
        font-size: 0.85rem;
        padding: 0.65rem 0.85rem;
    }
}

/* Landscape orientation fixes for phones */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 1rem;
    }

    .hero-image {
        width: 150px;
        height: 150px;
    }

    .mini-badges {
        display: none;
    }
}