/* ============================================
   MADFOL CROWN - Minimalist Agency Website
   Inspired by locomotive.ca aesthetic
   ============================================ */

/* CSS Variables */
:root {
    --color-bg: #0a0a0a;
    --color-bg-secondary: #111111;
    --color-text: #ffffff;
    --color-text-muted: #888888;
    --color-accent: #ffffff;
    --color-border: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    
    --container-width: 1400px;
    --section-padding: 150px;
}

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

/* Accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-text);
    color: var(--color-bg);
    padding: 15px 30px;
    border-radius: 0 0 10px 10px;
    font-weight: 600;
    z-index: 100001;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--color-text);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 3px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .cursor,
    .cursor-follower {
        display: none !important;
    }
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

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

button {
    font-family: inherit;
    cursor: none;
}

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

/* Custom Cursor */
.cursor,
.cursor-follower {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference;
}

.cursor {
    width: 8px;
    height: 8px;
    background: var(--color-text);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
}

.cursor.hover {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 1px solid var(--color-text);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s var(--ease-out-expo), width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.cursor-follower.hover {
    width: 80px;
    height: 80px;
    opacity: 0.5;
}

/* Loader */
.loader {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loader-content {
    text-align: center;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
    overflow: hidden;
    white-space: nowrap;
}

.loader-text span {
    display: inline-block;
    animation: loaderText 0.5s var(--ease-out-expo) forwards;
    opacity: 0;
    transform: translateY(100%);
}

.loader-text span:nth-child(1) { animation-delay: 0.1s; }
.loader-text span:nth-child(2) { animation-delay: 0.15s; }
.loader-text span:nth-child(3) { animation-delay: 0.2s; }
.loader-text span:nth-child(4) { animation-delay: 0.25s; }
.loader-text span:nth-child(5) { animation-delay: 0.3s; }
.loader-text span:nth-child(6) { animation-delay: 0.35s; }

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

.loader-progress {
    width: 200px;
    height: 2px;
    background: var(--color-border);
    margin: 0 auto;
    overflow: hidden;
}

.loader-bar {
    width: 0;
    height: 100%;
    background: var(--color-text);
    animation: loaderBar 1.5s var(--ease-in-out) forwards;
    animation-delay: 0.5s;
}

@keyframes loaderBar {
    to { width: 100%; }
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 60px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 30px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.5s var(--ease-out-expo);
}

.nav.scrolled {
    padding: 20px 60px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
}

.logo-icon {
    width: 36px;
    height: 28px;
    color: var(--color-text);
    transition: transform 0.4s var(--ease-out-expo);
}

.nav-logo:hover .logo-icon {
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    gap: 50px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-text);
    transition: width 0.4s var(--ease-out-expo);
}

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

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

.nav-divider {
    width: 1px;
    height: 20px;
    background: var(--color-border);
    margin: 0 10px;
}

.nav-link-highlight {
    color: #34c759 !important;
    font-weight: 600;
}

.nav-link-highlight:hover {
    color: #2fb350 !important;
}

.nav-link-highlight::after {
    background: #34c759 !important;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 12px 25px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 30px;
    transition: all 0.4s var(--ease-out-expo);
}

.nav-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.nav-cta:hover {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.nav-cta:hover svg {
    transform: translate(3px, -3px);
}

.nav-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 10px;
}

.nav-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-link:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.active .mobile-link:nth-child(7) { transition-delay: 0.4s; }

.mobile-menu-divider {
    width: 60px;
    height: 2px;
    background: var(--color-border);
    margin: 20px 0;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.5s var(--ease-out-expo);
    transition-delay: 0.28s;
}

.mobile-menu.active .mobile-menu-divider {
    opacity: 1;
    transform: scaleX(1);
}

.mobile-link-highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #34c759 !important;
    font-size: 32px !important;
}

.mobile-link-highlight svg {
    flex-shrink: 0;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 150px 0 100px;
    position: relative;
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 60px;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out-expo) 2s forwards;
}

.tag-line {
    width: 60px;
    height: 1px;
    background: var(--color-text-muted);
}

.tag-text {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(35px, 7vw, 110px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
}

.title-line {
    display: block;
    overflow: hidden;
    white-space: nowrap;
}

.title-line span {
    display: inline-block;
    transform: translateY(100%);
    animation: revealText 1s var(--ease-out-expo) forwards;
}

.title-line[data-delay="0"] span { animation-delay: 2.1s; }
.title-line[data-delay="1"] span { animation-delay: 2.2s; }
.title-line[data-delay="2"] span { animation-delay: 2.3s; }

.title-line.highlight {
    color: transparent;
    -webkit-text-stroke: 1px var(--color-text);
}

@keyframes revealText {
    to { transform: translateY(0); }
}

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

.hero-description {
    font-size: 20px;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out-expo) 2.4s forwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out-expo) 2.5s forwards;
}

.btn-primary,
.btn-secondary,
.btn-outline,
.btn-large,
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-text);
    color: var(--color-bg);
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-primary .btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: translate(3px, -3px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    padding: 18px 35px;
    border: 1px solid var(--color-border);
    border-radius: 50px;
}

.btn-secondary:hover {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.hero-scroll {
    position: absolute;
    bottom: 50px;
    left: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out-expo) 2.8s forwards;
}

.scroll-text {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 80px;
    background: var(--color-border);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 0;
    left: -2px;
    width: 5px;
    height: 5px;
    background: var(--color-text);
    border-radius: 50%;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { top: 0; }
    50% { top: 100%; }
}

/* Marquee Section */
.marquee-section {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.marquee {
    display: flex;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 50px;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-text-muted);
}

.marquee-dot {
    font-size: 10px;
    opacity: 0.5;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Section Styles */
.section-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 80px;
}

.section-number {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* Services Section */
.services {
    padding: var(--section-padding) 0;
}

.services-grid {
    display: grid;
    gap: 2px;
}

.service-card {
    display: grid;
    grid-template-columns: 80px 1fr 200px;
    gap: 60px;
    padding: 60px 0;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
}

.service-card:first-child {
    border-top: 1px solid var(--color-border);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-index {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    padding-top: 5px;
}

.service-content {
    max-width: 500px;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    transition: transform 0.4s var(--ease-out-expo);
}

.service-card:hover .service-title {
    transform: translateX(20px);
}

.service-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.service-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.service-list li {
    font-size: 14px;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list li::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--color-text);
    border-radius: 50%;
}

.service-link {
    color: var(--color-success);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.service-link:hover {
    color: #fff;
    text-decoration: underline;
}

.service-cta-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--color-success);
    color: var(--color-success);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.service-cta-btn:hover {
    background: var(--color-success);
    color: #000;
    transform: translateY(-2px);
}

.service-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.visual-circle {
    width: 150px;
    height: 150px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    position: absolute;
    transition: all 0.5s var(--ease-out-expo);
}

.service-card:hover .visual-circle {
    transform: scale(1.2);
    border-color: var(--color-text);
}

.service-icon {
    width: 80px;
    height: 80px;
    color: var(--color-text);
    transition: transform 0.5s var(--ease-out-expo);
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
}

/* Stats Section */
.stats {
    padding: 100px 0;
    background: var(--color-bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    color: var(--color-text-muted);
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 15px;
    letter-spacing: 0.05em;
}

/* About Section */
.about {
    padding: var(--section-padding) 0;
}

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

.about-text {
    margin-bottom: 50px;
}

.text-large {
    font-size: 28px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.about-text p:last-child {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--color-border);
    transition: all 0.4s var(--ease-out-expo);
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--color-text);
    transform: translateX(10px);
}

.value-number {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.value-text {
    font-size: 16px;
    font-weight: 500;
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-frame {
    width: 100%;
    aspect-ratio: 1;
    max-width: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frame-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid var(--color-border);
}

.frame-corner.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.frame-corner.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.frame-corner.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.frame-corner.br { bottom: 0; right: 0; border-left: none; border-top: none; }

.visual-content {
    text-align: center;
}

.visual-year {
    font-family: var(--font-heading);
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    display: block;
    opacity: 0.1;
}

.visual-text {
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* Projects Section */
.projects {
    padding: var(--section-padding) 0;
    background: var(--color-bg-secondary);
}

.projects-list {
    margin-bottom: 60px;
}

.project-item {
    border-bottom: 1px solid var(--color-border);
}

.project-item:first-child {
    border-top: 1px solid var(--color-border);
}

.project-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0;
    transition: all 0.4s var(--ease-out-expo);
}

.project-link:hover {
    padding-left: 30px;
}

.project-category {
    display: block;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    transition: transform 0.4s var(--ease-out-expo);
}

.project-link:hover .project-title {
    transform: translateX(20px);
}

.project-desc {
    font-size: 14px;
    color: var(--color-text-muted);
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 40px;
}

.project-year {
    font-size: 14px;
    color: var(--color-text-muted);
}

.project-arrow {
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-out-expo);
}

.project-arrow svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.project-link:hover .project-arrow {
    background: var(--color-text);
    border-color: var(--color-text);
}

.project-link:hover .project-arrow svg {
    stroke: var(--color-bg);
    transform: translate(3px, -3px);
}

.projects-cta {
    text-align: center;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-outline svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-outline:hover {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.btn-outline:hover svg {
    stroke: var(--color-bg);
    transform: translate(3px, -3px);
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding) 0;
    text-align: center;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(60px, 10vw, 140px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 30px;
}

.cta-line {
    display: block;
}

.cta-line.highlight {
    color: transparent;
    -webkit-text-stroke: 1px var(--color-text);
}

.cta-desc {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.btn-large {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 25px 50px;
    background: var(--color-text);
    color: var(--color-bg);
    border: none;
    border-radius: 60px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.btn-large:hover {
    transform: scale(1.05);
}

.btn-large .btn-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.btn-large:hover .btn-icon {
    transform: translate(3px, -3px);
}

/* Contact Section */
.contact {
    padding: var(--section-padding) 0;
    background: var(--color-bg-secondary);
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-desc {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-top: 20px;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
}

.contact-link {
    display: block;
    padding: 20px;
    border: 1px solid var(--color-border);
    transition: all 0.4s var(--ease-out-expo);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--color-text);
    transform: translateX(10px);
}

.link-label {
    display: block;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.link-value {
    font-size: 18px;
    font-weight: 500;
}

.contact-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-out-expo);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    background: var(--color-text);
    border-color: var(--color-text);
}

.social-link:hover svg {
    stroke: var(--color-bg);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
    font-size: 18px;
    color: var(--color-text);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group select {
    cursor: pointer;
    appearance: none;
}

.form-group textarea {
    resize: none;
}

.form-group label {
    position: absolute;
    top: 20px;
    left: 0;
    font-size: 16px;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -10px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-text);
    transition: width 0.4s var(--ease-out-expo);
}

.form-group input:focus ~ .form-line,
.form-group select:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.btn-submit {
    align-self: flex-start;
    padding: 20px 40px;
    background: var(--color-text);
    color: var(--color-bg);
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.btn-submit:hover {
    transform: scale(1.05);
}

.btn-submit .btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-submit:hover .btn-icon {
    transform: translateX(5px);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
}

.footer-logo-icon {
    width: 36px;
    height: 28px;
    color: var(--color-text);
}

.footer-tagline {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-legal a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--color-success);
}

.footer-legal span {
    opacity: 0.5;
}

/* Reveal Animation */
.reveal-text {
    overflow: hidden;
}

.reveal-text span {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.8s var(--ease-out-expo);
}

.reveal-text.revealed span {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1400px) {
    .hero-title {
        font-size: clamp(38px, 6.5vw, 90px);
    }
}

@media (max-width: 1200px) {
    :root {
        --section-padding: 100px;
    }
    
    .container {
        padding: 0 40px;
    }
    
    .nav {
        padding: 25px 40px;
    }
    
    .hero-content {
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: clamp(35px, 6vw, 80px);
    }
    
    .service-card {
        grid-template-columns: 60px 1fr 150px;
        gap: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .nav-menu-btn {
        display: flex;
    }
    
    .service-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-index {
        padding: 0;
    }
    
    .service-visual {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-visual {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .nav {
        padding: 20px 20px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: clamp(26px, 6vw, 55px);
        word-break: keep-all;
        hyphens: none;
    }
    
    .title-line {
        white-space: nowrap;
    }
    
    .hero-scroll {
        left: 20px;
    }
    
    .loader-text {
        font-size: 36px;
        letter-spacing: 0.15em;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 50px;
    }
    
    .service-list {
        grid-template-columns: 1fr;
    }
    
    .project-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .project-meta {
        width: 100%;
        justify-content: space-between;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Hide custom cursor on mobile */
    .cursor,
    .cursor-follower {
        display: none;
    }
    
    body {
        cursor: auto;
    }
    
    /* Evitar iconos gigantes en móvil: forzar tamaño máximo en todos los iconos del index */
    .logo-icon,
    .footer-logo-icon {
        width: 32px !important;
        height: 26px !important;
        max-width: 32px;
        max-height: 26px;
    }
    
    .nav-cta svg,
    .btn-primary .btn-icon,
    .btn-primary .btn-icon svg,
    .btn-outline svg,
    .btn-outline-large svg,
    .project-arrow svg,
    .btn-large .btn-icon,
    .btn-submit .btn-icon,
    .btn-submit .btn-icon svg {
        width: 20px !important;
        height: 20px !important;
        max-width: 20px;
        max-height: 20px;
    }
    
    .social-link svg {
        width: 22px !important;
        height: 22px !important;
        max-width: 22px;
        max-height: 22px;
    }
    
    .companies-benefits svg,
    .influencers-benefits svg {
        width: 24px !important;
        height: 24px !important;
        max-width: 24px;
        max-height: 24px;
        flex-shrink: 0;
    }
}

/* Tablets pequeñas */
@media (max-width: 600px) {
    .hero-title {
        font-size: clamp(24px, 6.5vw, 48px);
        word-break: keep-all;
        hyphens: none;
    }
    
    .title-line {
        white-space: nowrap;
    }
    
    .loader-text {
        font-size: 32px;
        letter-spacing: 0.12em;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(22px, 7vw, 42px);
        word-break: keep-all;
        hyphens: none;
    }
    
    .title-line {
        white-space: nowrap;
    }
    
    .loader-text {
        font-size: 28px;
        letter-spacing: 0.1em;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    /* Iconos: mantener tamaño fijo en móvil pequeño */
    .btn-primary .btn-icon,
    .btn-primary .btn-icon svg,
    .btn-outline svg {
        width: 20px !important;
        height: 20px !important;
        max-width: 20px;
        max-height: 20px;
    }
    
    .stat-number {
        font-size: 48px;
    }
    
    .stat-suffix {
        font-size: 32px;
    }
    
    .visual-year {
        font-size: 80px;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 20px;
        word-break: keep-all;
        hyphens: none;
    }
    
    .title-line {
        white-space: nowrap;
    }
    
    .loader-text {
        font-size: 24px;
        letter-spacing: 0.08em;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .cta-title {
        font-size: 42px;
    }
}

/* ============================================
   CTA REGISTER SECTION
   ============================================ */

.cta-register {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, #0f1a0f 50%, var(--color-bg) 100%);
    position: relative;
    overflow: hidden;
}

.cta-register::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(52, 199, 89, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-register-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(52, 199, 89, 0.15);
    border: 1px solid rgba(52, 199, 89, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #34c759;
    margin-bottom: 25px;
}

.cta-register-title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.cta-register-title .highlight {
    color: #34c759;
    position: relative;
}

.cta-register-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(52, 199, 89, 0.3);
    z-index: -1;
}

.cta-register-desc {
    font-size: 18px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 35px;
}

.cta-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--color-text);
}

.cta-feature svg {
    width: 22px;
    height: 22px;
    color: #34c759;
    flex-shrink: 0;
}

.cta-register-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-card {
    padding: 35px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
    border-color: rgba(52, 199, 89, 0.5);
    box-shadow: 0 20px 60px rgba(52, 199, 89, 0.15);
}

.cta-card:hover::before {
    opacity: 1;
}

.cta-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-card-client .cta-card-icon {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.2) 0%, rgba(0, 122, 255, 0.1) 100%);
    color: #007aff;
}

.cta-card-influencer .cta-card-icon {
    background: linear-gradient(135deg, rgba(175, 82, 222, 0.2) 0%, rgba(175, 82, 222, 0.1) 100%);
    color: #af52de;
}

.cta-card-icon svg {
    width: 28px;
    height: 28px;
}

.cta-card-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(52, 199, 89, 0.15);
    border: 1px solid rgba(52, 199, 89, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #34c759;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.cta-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.cta-card p {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.cta-card-arrow {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    opacity: 0;
    transition: all 0.4s var(--ease-out-expo);
    color: #34c759;
}

.cta-card-arrow svg {
    width: 24px;
    height: 24px;
}

.cta-card:hover .cta-card-arrow {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 1024px) {
    .cta-register-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .cta-register-title {
        font-size: 40px;
    }
    
    .cta-features {
        justify-content: center;
    }
    
    .cta-register-cards {
        flex-direction: row;
    }
    
    .cta-card {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .cta-register {
        padding: 80px 0;
    }
    
    .cta-register-title {
        font-size: 32px;
    }
    
    .cta-features {
        grid-template-columns: 1fr;
        text-align: left;
        max-width: 300px;
        margin: 0 auto 30px;
    }
    
    .cta-register-cards {
        flex-direction: column;
    }
}
