/* ===== CSS VARIABLES ===== */
:root {
    --color-primary: #0f172a;
    --color-secondary: #1e293b;
    --color-accent: #3b82f6;
    --color-accent-light: #60a5fa;
    --color-accent-dark: #1d4ed8;
    --color-gold: #f59e0b;
    --color-text: #334155;
    --color-text-light: #64748b;
    --color-white: #ffffff;
    --color-off-white: #f8fafc;
    --color-border: #e2e8f0;

    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 60px rgba(59, 130, 246, 0.3);

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-white);
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== PREMIUM PATTERN BACKGROUNDS ===== */
.pattern-dots {
    background-image: radial-gradient(circle at 1px 1px, rgba(59, 130, 246, 0.08) 1px, transparent 0);
    background-size: 24px 24px;
}

.pattern-grid {
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.pattern-subtle {
    background-image:
        radial-gradient(ellipse at 20% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(245, 158, 11, 0.04) 0%, transparent 50%);
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    border-radius: 3px;
    animation: loading 1s ease-in-out infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== NAVIGATION ===== */
.nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo img {
    height: 38px;
    width: auto;
    transition: transform var(--transition-base);
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-panel {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 100px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all var(--transition-base);
}

.nav.scrolled .nav-panel {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 0.5rem 0.25rem;
    transition: color var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-accent);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 100px;
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: all var(--transition-base);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover .btn-shine {
    left: 100%;
}

.btn-ghost {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

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

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        var(--color-primary) 0%,
        #0c1929 25%,
        #0f2744 50%,
        var(--color-secondary) 100%
    );
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
}

.hero-gradient::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 50%;
    background: radial-gradient(ellipse at 20% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    flex: 1;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem 0.5rem 0.625rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.title-line {
    display: block;
}

.title-accent {
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-accent-light);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.hero-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2.5rem;
}

.hero-description strong {
    color: var(--color-white);
}

.hero-stats {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
}

.hero-stats strong {
    color: var(--color-accent-light);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
}

.hero-image-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    filter: blur(40px);
    animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-image-ring {
    position: absolute;
    inset: -10px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.hero-image-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-accent);
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-2xl);
}

/* Floating Cards */
.hero-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

.card-experience {
    top: 10%;
    left: -20%;
    animation-delay: 0s;
}

.card-clients {
    bottom: 15%;
    right: -15%;
    animation-delay: 3s;
}

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

.floating-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    border-radius: 12px;
    color: var(--color-white);
}

.floating-card-content {
    display: flex;
    flex-direction: column;
}

.floating-card-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.floating-card-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 2px;
}

/* ===== ANIMATIONS ===== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeLeft 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
    to { opacity: 1; transform: translateX(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== STATS ===== */
.stats {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    padding: 0 2rem;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 3rem;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--shadow-2xl);
}

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

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--color-border);
}

/* ===== BOOK SECTION ===== */
.book {
    padding: 5rem 2rem;
    background: linear-gradient(135deg,
        var(--color-primary) 0%,
        #0c1929 25%,
        #0f2744 50%,
        var(--color-secondary) 100%
    );
    position: relative;
    overflow: hidden;
}

.book-particles,
.projects-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.book::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
}

.book::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background: radial-gradient(ellipse at 80% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.book-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.book-visual {
    display: flex;
    justify-content: center;
}

.book-image-wrapper {
    position: relative;
}

.book-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: linear-gradient(135deg, var(--color-gold), #d97706);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    z-index: 10;
    animation: pulse 2s ease-in-out infinite;
}

.book-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, transparent 70%);
    filter: blur(30px);
}

.book-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-slow);
    position: relative;
}

.book-image:hover {
    transform: translateY(-8px) rotate(-1deg);
}

.book-content {
    padding: 1rem 0;
}

.book-content .section-tag {
    background: rgba(255,255,255,0.1);
    color: var(--color-white);
}

.book-content .section-title {
    color: var(--color-white);
}

.book-content .title-gradient {
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.book-subtitle {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-accent-light);
    margin-bottom: 1rem;
}

.book-description {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.book-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.book-features li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.625rem 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
}

.book-features svg {
    color: #22c55e;
    flex-shrink: 0;
}

.book-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.book-actions .btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255,255,255,0.3);
}

.book-actions .btn-outline:hover {
    border-color: var(--color-white);
    background: rgba(255,255,255,0.1);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

.book-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}

.book-note svg {
    color: #22c55e;
    flex-shrink: 0;
}

/* ===== SECTIONS ===== */
.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-accent);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.section-tag-light {
    background: rgba(255,255,255,0.1);
    color: var(--color-white);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-title-light {
    color: var(--color-white);
}

.title-gradient {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-gradient-light {
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== ABOUT ===== */
.about {
    padding: 5rem 2rem;
    background:
        linear-gradient(180deg, #e8eef5 0%, #dfe7f0 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

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

.about-lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.about-highlight {
    font-size: 1.125rem;
    color: var(--color-primary);
    font-weight: 500;
}

.about-highlight strong {
    color: var(--color-accent);
}

.credentials-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credential-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid rgba(59, 130, 246, 0.08);
}

.credential-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(59, 130, 246, 0.15);
}

.credential-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.credential-card span {
    font-weight: 500;
    color: var(--color-primary);
}

/* About Quote Card */
.about-quote-card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    border: 1px solid rgba(59, 130, 246, 0.08);
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 6rem;
    color: var(--color-accent);
    opacity: 0.2;
    line-height: 1;
    position: absolute;
    top: 1rem;
    left: 2rem;
}

.about-quote-card blockquote {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-style: italic;
    color: var(--color-primary);
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quote-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.quote-author strong {
    display: block;
    color: var(--color-primary);
    font-weight: 600;
}

.quote-author span {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* ===== PROJECTS ===== */
.projects {
    padding: 5rem 2rem;
    background: linear-gradient(135deg,
        #0c1929 0%,
        var(--color-primary) 25%,
        #0f2744 50%,
        var(--color-secondary) 100%
    );
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 30%, rgba(59, 130, 246, 0.12) 0%, transparent 60%);
}

.projects::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 50%;
    background: radial-gradient(ellipse at 20% 80%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.projects-header {
    text-align: center;
    margin-bottom: 4rem;
}

.projects-header .section-tag {
    background: rgba(255,255,255,0.1);
    color: var(--color-white);
}

.projects-header .section-title {
    color: var(--color-white);
}

.projects-header .title-gradient {
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.project-card {
    position: relative;
    padding: 2.5rem;
    background: var(--color-white);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-base);
}

.project-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.project-card:hover .project-card-bg {
    opacity: 1;
}

.project-card-content {
    position: relative;
    z-index: 1;
}

.project-card:hover .project-card-content {
    color: var(--color-white);
}

.project-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    transition: all var(--transition-base);
}

.project-card:hover .project-icon {
    background: rgba(255,255,255,0.2);
    color: var(--color-white);
}

.project-card h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    transition: color var(--transition-base);
}

.project-card:hover h3 {
    color: var(--color-white);
}

.project-card p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    transition: color var(--transition-base);
}

.project-card:hover p {
    color: rgba(255,255,255,0.85);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-accent);
    transition: all var(--transition-base);
}

.project-card:hover .project-link {
    color: var(--color-white);
}

.project-link svg {
    transition: transform var(--transition-base);
}

.project-card:hover .project-link svg {
    transform: translate(4px, -4px);
}

.project-card-featured {
    border-color: var(--color-accent);
    border-width: 2px;
}

/* ===== CONSULTATION ===== */
.consultation {
    padding: 5rem 2rem;
    background:
        linear-gradient(180deg, #e0e9f2 0%, #d6e1ec 100%);
    position: relative;
}

.consultation::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
}

.consultation-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.consultation-description {
    font-size: 1.0625rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.consultation-features {
    list-style: none;
}

.consultation-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

.feature-check {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    color: #22c55e;
    flex-shrink: 0;
}

.consultation-features span {
    color: var(--color-text);
}

/* Pricing Card */
.pricing-card {
    position: relative;
    padding: 3rem;
    background: var(--color-white);
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.pricing-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--color-accent), transparent 30%);
    animation: rotateGlow 4s linear infinite;
    opacity: 0.1;
}

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

.pricing-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    position: relative;
}

.pricing-amount {
    margin-bottom: 1rem;
    position: relative;
}

.currency {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-light);
    vertical-align: top;
}

.price {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin: 0 0.25rem;
}

.period {
    font-size: 1rem;
    color: var(--color-text-light);
}

.pricing-note {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    position: relative;
}

.pricing-card .btn {
    position: relative;
    margin-bottom: 1.5rem;
}

.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
    position: relative;
}

.pricing-guarantee svg {
    color: #22c55e;
}

/* ===== SOCIAL ===== */
.social {
    padding: 5rem 2rem;
    background:
        linear-gradient(135deg, #e4ecf4 0%, #dbe4ef 100%);
    position: relative;
}

.social::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(59, 130, 246, 0.1) 1.5px, transparent 0);
    background-size: 18px 18px;
}

.social-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.social-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-white);
    border: 1px solid rgba(59, 130, 246, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-base);
}

.social-card-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.social-card:nth-child(1) .social-card-bg {
    background: linear-gradient(135deg, #1877f2, #0d65d9);
}

.social-card:nth-child(2) .social-card-bg {
    background: linear-gradient(135deg, #ff0000, #cc0000);
}

.social-card:nth-child(3) .social-card-bg {
    background: linear-gradient(135deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
}

.social-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow-xl);
}

.social-card:hover .social-card-bg {
    opacity: 1;
}

.social-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    color: #1877f2;
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
}

.social-youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
}

.social-instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
}

.social-tiktok {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

.social-card:nth-child(4) .social-card-bg {
    background: linear-gradient(135deg, #00f2ea, #ff0050);
}

.social-card:hover .social-icon {
    background: rgba(255,255,255,0.2);
    color: var(--color-white);
}

.social-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.social-name {
    display: block;
    font-weight: 600;
    color: var(--color-primary);
    transition: color var(--transition-base);
}

.social-card:hover .social-name {
    color: var(--color-white);
}

.social-count {
    font-size: 0.875rem;
    color: var(--color-text-light);
    transition: color var(--transition-base);
}

.social-card:hover .social-count {
    color: rgba(255,255,255,0.85);
}

.social-arrow {
    position: relative;
    z-index: 1;
    color: var(--color-text-light);
    transition: all var(--transition-base);
}

.social-card:hover .social-arrow {
    color: var(--color-white);
    transform: translate(4px, -4px);
}

/* ===== CONTACT ===== */
.contact {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #0c1929 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 80% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-description {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    transition: all var(--transition-base);
}

.contact-method:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(8px);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    color: var(--color-white);
}

.contact-method-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-method-value {
    font-weight: 500;
    color: var(--color-white);
}

/* Contact Card */
.contact-card {
    perspective: 1000px;
}

.contact-card-inner {
    background: var(--color-white);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-2xl);
}

.contact-card-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--color-off-white);
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.contact-card p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

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

.contact-card-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-off-white);
    border-radius: 50%;
    color: var(--color-text-light);
    transition: all var(--transition-base);
}

.contact-card-links a:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-4px);
}

/* ===== FOOTER ===== */
.footer {
    padding: 4rem 2rem 6rem;
    background: #0a0f1a;
}

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

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 100px;
    margin-bottom: 1.5rem;
    filter: invert(1);
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.6);
    max-width: 300px;
}

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

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer-column a {
    display: block;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.6);
    padding: 0.375rem 0;
    transition: all var(--transition-base);
}

.footer-column a:hover {
    color: var(--color-white);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 10000;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(150%);
    transition: transform 0.4s ease;
}

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

.cookie-content {
    padding: 1.5rem;
}

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-header h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
}

.cookie-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--color-text-light);
    transition: color var(--transition-base);
}

.cookie-close:hover {
    color: var(--color-text);
}

.cookie-text {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #e2e8f0;
    border-radius: 24px;
    transition: background var(--transition-base);
}

.cookie-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform var(--transition-base);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.cookie-toggle input:checked + .cookie-slider {
    background: var(--color-accent);
}

.cookie-toggle input:checked + .cookie-slider::before {
    transform: translateX(20px);
}

.cookie-slider.disabled {
    background: var(--color-accent);
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-category-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.cookie-category-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
}

.cookie-category-desc {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cookie-btn {
    flex: 1;
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
}

.cookie-btn-reject {
    background: #f1f5f9;
    color: var(--color-text);
}

.cookie-btn-reject:hover {
    background: #e2e8f0;
}

.cookie-btn-save {
    background: #f1f5f9;
    color: var(--color-text);
}

.cookie-btn-save:hover {
    background: #e2e8f0;
}

.cookie-btn-accept {
    background: var(--color-accent);
    color: #fff;
}

.cookie-btn-accept:hover {
    background: var(--color-accent-dark);
}

.cookie-footer {
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.cookie-footer p {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.5;
}

.cookie-footer a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-contact {
    margin-top: 0.5rem !important;
}

/* Cookie Icon */
.cookie-icon {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 9999;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

.cookie-icon.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.cookie-icon:hover {
    background: var(--color-accent);
    transform: scale(1.1);
}

/* ===== STICKY BOTTOM BAR ===== */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2744 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    padding: 1rem 2rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}

.bottom-bar.visible {
    transform: translateY(0);
}

.bottom-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.bottom-bar-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    text-align: center;
}

.bottom-bar-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
}

.bottom-bar-subtitle {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.6);
}

.bottom-bar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 100px;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.bottom-bar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.bottom-bar-btn svg {
    transition: transform var(--transition-base);
}

.bottom-bar-btn:hover svg {
    transform: translateX(4px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

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

    .hero-visual {
        order: -1;
    }

    .hero-image-wrapper {
        width: 300px;
        height: 300px;
    }

    .hero-floating-card {
        display: none;
    }

    .book-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .book-visual {
        order: -1;
    }

    .book-image {
        max-width: 280px;
    }

    .book-actions {
        justify-content: center;
    }

    .about-grid,
    .consultation-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 0.75rem 1rem;
    }

    .nav-logo img {
        height: 28px;
    }

    .nav-panel {
        width: 100%;
        justify-content: space-between;
        border-radius: 16px;
        padding: 0.625rem 0.875rem;
        gap: 0.75rem;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 1rem;
        right: 1rem;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-cta {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .hero-container {
        padding: 7rem 1.5rem 5rem;
    }

    .stats-container {
        flex-wrap: wrap;
        gap: 1.5rem;
        padding: 2rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex: 1 1 40%;
    }

    .projects-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .book-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .bottom-bar-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .bottom-bar-text {
        align-items: center;
    }

    .bottom-bar-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    .stats-container {
        flex-direction: column;
    }

    .stat-item {
        flex: none;
    }
}
