/* 
===========================================
  ANONYMCREATOR - 1:1 CLONE OF SUS.DIGITAL 
  (WITH DARK / CYAN ASSETS)
===========================================
*/

:root {
    /* Colors */
    --bg-color: #0d0f12; /* Dark background */
    --text-color: #f0f0f0; /* Light text */
    --accent-color: #00f0ff; /* Neon cyan */
    --accent-hover: #00c3cc;
    --border-color: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(255, 255, 255, 0.03);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1300px;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: var(--section-padding);
    position: relative;
    z-index: 2;
}

.section-subtitle {
    display: block;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 4rem;
}

.accent {
    color: var(--accent-color);
}

/* ================= BACKGROUND SHAPES ================= */
.bg-shapes-container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-parallax-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300vh;
    will-change: transform;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15; /* Increased opacity */
    animation: drift 20s infinite alternate ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-color);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 700px;
    height: 700px;
    background: #0088ff;
    top: 40vh;
    right: -10%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.shape-3 {
    width: 500px;
    height: 500px;
    background: var(--accent-color);
    top: 80vh;
    left: 30%;
    animation-delay: -10s;
    animation-duration: 30s;
}

.shape-4 {
    width: 650px;
    height: 650px;
    background: #0088ff;
    top: 150vh;
    left: -15%;
    animation-delay: -12s;
    animation-duration: 28s;
}

.shape-5 {
    width: 800px;
    height: 800px;
    background: var(--accent-color);
    top: 220vh;
    right: -20%;
    animation-delay: -7s;
    animation-duration: 32s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(5%, 10%) scale(1.1); }
    66% { transform: translate(-5%, 5%) scale(0.9); }
    100% { transform: translate(10%, -5%) scale(1.05); }
}

/* ================= HEADER ================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none; /* Let clicks pass through empty space around the pill */
}

.site-header.hidden {
    transform: translateY(-150%);
    transition: transform 0.4s ease-in; /* Use ease-in for exiting so it starts slow and accelerates out of view */
}

.site-header.scrolled {
    padding: 20px 5%;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    background: rgba(13, 15, 18, 0);
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto; /* Re-enable clicks for the actual header content */
}

.site-header.scrolled .header-inner {
    max-width: 1250px; /* Increased to accommodate the wider logo text */
    padding: 0.8rem 0.8rem 0.8rem 2.5rem; /* Reduced right padding to make button flush with the edge */
    background: rgba(20, 22, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.header-inner .logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    gap: 0.8rem;
}

.header-inner .desktop-nav {
    flex: 2;
    display: flex;
    justify-content: center;
}

.header-inner .header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.1rem;
    line-height: 1;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.logo-anonym {
    font-weight: 900;
    color: var(--accent-color);
}

.logo-creator {
    font-weight: 400;
    color: var(--text-color);
}

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

.nav-menu a {
    font-size: 1rem;
    font-weight: 500;
}

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

/* Global button styles are defined in the buttons section */

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle .line {
    width: 25px;
    height: 2px;
    background: var(--text-color);
}

/* ================= HERO ================= */
.hero {
    padding: 200px 0 120px;
    border-bottom: 1px solid var(--border-color);
}

.hero-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1.2;
    max-width: 800px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.hero-logo-img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 40px rgba(0, 240, 255, 0.15));
}

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

.hero-title {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: #a0a0a0;
    max-width: 700px;
    margin-bottom: 3rem;
}

/* ================= BUTTONS ================= */
[class*="btn-"] {
    display: inline-block;
    background: rgba(0, 240, 255, 0.05);
    color: var(--text-color);
    border-radius: 50px;
    font-weight: 600 !important;
    position: relative;
    border: 1px solid rgba(0, 240, 255, 0.3) !important;
    transition: box-shadow 0.6s ease, background 0.6s ease, transform 0.6s ease, color 0.6s ease;
    text-decoration: none;
}

[class*="btn-"]::before {
    content: '';
    position: absolute;
    inset: -1px;
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    opacity: 0;
    clip-path: inset(0 100% 0 0); /* Hides it from the right */
    transition: clip-path 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.7s ease;
    pointer-events: none;
    z-index: 10;
}

[class*="btn-"]:hover::before {
    opacity: 1;
    clip-path: inset(0 0 0 0); /* Fills up completely */
}

[class*="btn-"]:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
    color: var(--text-color) !important;
}

/* Specific Sizes */
.btn-primary-small {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

.btn-primary, .btn-secondary {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary-large {
    padding: 1.5rem 3rem;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
}

/* ================= SERVICES ================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card, .project-item, .testimonial-card, .agentur-card, .benefit-card, .interactive-card {
    will-change: transform, box-shadow;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.6s ease;
}

.service-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.service-card::before,
.project-item::before,
.testimonial-card::before,
.agentur-card::before,
.benefit-card::before,
.interactive-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--accent-color);
    border-radius: inherit;
    opacity: 0;
    clip-path: inset(0 100% 0 0); /* Hides it from the right */
    transition: clip-path 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.7s ease;
    pointer-events: none;
    z-index: 10;
}

.service-card::before,
.project-item::before,
.agentur-card::before,
.benefit-card::before,
.interactive-card::before {
    inset: -1px; /* Overlap existing border */
    border-width: 1px;
}

.service-card:hover::before,
.project-item:hover::before,
.testimonial-card:hover::before,
.agentur-card:hover::before,
.benefit-card:hover::before,
.interactive-card:hover::before {
    opacity: 1;
    clip-path: inset(0 0 0 0); /* Fills up completely */
}

.service-content h3 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.service-content p {
    color: #a0a0a0;
    line-height: 1.6;
}

/* ================= SERVICE ICONS ================= */
.service-icon {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 2rem;
}

/* 1. Orbit Icon */
.icon-orbit .orbit-circle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}
.icon-orbit .orbit-dot {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    animation: rotate 6s linear infinite;
}
.icon-orbit .orbit-dot::before {
    content: '';
    position: absolute;
    top: -5px; left: 50%;
    transform: translateX(-50%);
    width: 10px; height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-color);
}
@keyframes rotate {
    100% { transform: rotate(360deg); }
}

/* 2. Grid Icon */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 2px;
}
.icon-grid span {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: pulse-grid 3s infinite;
}
.icon-grid span:nth-child(5) {
    background: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 12px var(--accent-color);
    animation: none;
}
.icon-grid span:nth-child(2) { animation-delay: 0.5s; }
.icon-grid span:nth-child(4) { animation-delay: 1s; }
.icon-grid span:nth-child(8) { animation-delay: 1.5s; }
@keyframes pulse-grid {
    0%, 100% { background: transparent; border-color: rgba(255, 255, 255, 0.4); }
    50% { background: rgba(0, 240, 255, 0.6); border-color: var(--accent-color); }
}

/* 3. Brackets Icon */
.icon-brackets {
    position: relative;
}
.bracket {
    position: absolute;
    width: 16px; height: 16px;
    border: 2.5px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.4s ease, border-color 0.4s ease;
}
.top-left { top: 0; left: 0; border-right: none; border-bottom: none; }
.top-right { top: 0; right: 0; border-left: none; border-bottom: none; }
.bottom-left { bottom: 0; left: 0; border-right: none; border-top: none; }
.bottom-right { bottom: 0; right: 0; border-left: none; border-top: none; }
.bracket-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 8px; height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse-dot 2s infinite alternate;
}
.service-card:hover .bracket {
    border-color: var(--accent-color);
}
.service-card:hover .top-left { transform: translate(-5px, -5px); }
.service-card:hover .top-right { transform: translate(5px, -5px); }
.service-card:hover .bottom-left { transform: translate(-5px, 5px); }
.service-card:hover .bottom-right { transform: translate(5px, 5px); }
@keyframes pulse-dot {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 1; box-shadow: 0 0 12px var(--accent-color); }
}

/* 4. Globe Icon */
.icon-globe {
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.globe-ring {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 2px solid rgba(0, 240, 255, 0.6);
    border-radius: 50%;
}
.globe-ring.horizontal { transform: rotateX(75deg); animation: rotate-globe 8s linear infinite; }
.globe-ring.vertical { transform: rotateY(75deg); animation: rotate-globe-y 10s linear infinite; }
.globe-ring.diagonal { transform: rotateX(45deg) rotateY(45deg); border-color: rgba(255, 255, 255, 0.3); }
@keyframes rotate-globe {
    100% { transform: rotateX(75deg) rotateZ(360deg); }
}
@keyframes rotate-globe-y {
    100% { transform: rotateY(75deg) rotateX(360deg); }
}

.arrow-icon {
    font-size: 2rem;
    color: var(--accent-color);
    transition: transform 0.3s;
}

.service-card:hover .arrow-icon {
    transform: translateX(10px);
}

/* ================= PROJECTS ================= */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3rem;
}

/* btn-secondary is now handled by the global [class*="btn-"] selector */

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

.project-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-item {
    display: block;
    position: relative;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
}

.project-item:hover .project-img {
    transform: scale(1.05);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 1.5rem;
}

.project-name {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.project-category {
    color: #a0a0a0;
    font-size: 1rem;
}

/* ================= AGENTUR / TEAM ================= */
.agentur-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.agentur-card {
    position: relative;
    padding: 3rem;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.agentur-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    letter-spacing: -0.03em;
}

.agentur-heading {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.agentur-text {
    font-size: 1.1rem;
    color: #f0f0f0;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.agentur-cta {
    margin-top: 3rem;
    text-align: left;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 255, 0.2);
}

.benefit-heading {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.benefit-text {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Skills Cluster */
.skills-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.skill-pill {
    position: relative;
    padding: 0.9rem 1.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    color: var(--text-color);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: default; 
}

.skill-pill:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* Contact Grid & Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.glass-input {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.glass-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Fix select element styling in dark mode */
select.glass-input option {
    background: var(--bg-color);
    color: #fff;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1000px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

.pricing-card {
    padding: 3rem 2.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-card.popular {
    border-color: rgba(0, 255, 255, 0.3);
    background: rgba(0, 255, 255, 0.02);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #000;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.package-name {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1;
}

.price span {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 400;
}

.package-desc {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem 0;
    flex-grow: 1;
}

.pricing-features li {
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
}

.pricing-features li::before {
    content: "✓";
    color: var(--accent-color);
    margin-right: 10px;
    font-weight: bold;
}

.pricing-features li.disabled {
    color: rgba(255, 255, 255, 0.3);
}

.pricing-features li.disabled::before {
    content: "✕";
    color: rgba(255, 255, 255, 0.3);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    text-align: left;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-detail-card {
    padding: 3rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.service-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-detail-card:hover .service-number {
    color: var(--accent-color);
}

.service-detail-card h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
}

.service-detail-card p {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    flex-grow: 1;
}

.service-features li {
    color: #fff;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.service-features li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    margin-right: 12px;
}

/* Scroll Statement Section */
.scroll-statement {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.statement-logo {
    display: flex;
    margin-bottom: 2.5rem;
}

.statement-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.statement-text {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    line-height: 1.25;
    font-weight: 500;
    max-width: 1000px;
    letter-spacing: -0.02em;
}

.statement-text .word {
    color: rgba(255, 255, 255, 0.15);
    transform: translateY(20px);
    transition: color 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: inline-block;
    margin-right: 0.15em;
    margin-bottom: 0.1em;
}

.statement-text .word.active {
    color: #fff;
    transform: translateY(0);
}

.statement-text .word.accent-word.active {
    color: var(--accent-color);
}

@media (max-width: 992px) {
    .agentur-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= TESTIMONIALS ================= */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.testimonial-card {
    position: relative;
    padding: 3rem;
    border-left: 2px solid var(--accent-color);
    background: var(--card-bg);
    border-radius: 16px;
}

.stars {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.quote {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.author {
    color: #a0a0a0;
}

/* ================= FOOTER ================= */
.site-footer {
    padding: 120px 0 50px;
}

.footer-cta {
    margin-bottom: 80px;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

/* btn-primary-large is now handled by the global [class*="btn-"] selector */

.footer-bottom {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    padding-top: 50px;
    border-top: 1px solid var(--border-color);
}

.footer-logo {
    height: 30px;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #a0a0a0;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

/* ================= REVEAL ON SCROLL ================= */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

@media (min-width: 901px) {
    .mobile-cta-item { display: none !important; }
}

@media (max-width: 900px) {
    .header-inner {
        position: relative;
    }
    
    .site-header.scrolled .header-inner.menu-open {
        background: transparent !important;
        border-color: transparent !important;
        box-shadow: none !important;
    }

    .nav-menu { 
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        position: absolute;
        top: -1rem;
        left: -1.2rem;
        width: calc(100% + 2.4rem);
        background: rgba(20, 22, 26, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 6.5rem 5% 3rem;
        border: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
        border-radius: 24px;
        z-index: -1;
        
        /* Hidden state for animation */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        pointer-events: none;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s ease;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.35s; }

    .nav-menu a.nav-link {
        font-size: 1.6rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.8);
        display: inline-block;
        padding: 0.5rem 1rem;
    }
    
    .nav-menu a.nav-link:hover, .nav-menu a.nav-link:active {
        color: var(--accent-color);
        transform: scale(1.05);
    }

    .mobile-toggle { 
        display: flex; 
        pointer-events: auto;
        padding: 10px;
    }
    
    .header-right .btn-primary {
        display: none;
    }
    
    .site-header nav {
        flex: 0;
    }
    
    .services-grid, .projects-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom { 
        grid-template-columns: 1fr 1fr;
        gap: 3rem 1.5rem; 
        text-align: center;
    }
    .footer-col:first-child {
        grid-column: 1 / -1;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero {
        padding: 120px 0 60px; /* Reduced padding on mobile to fit button */
    }
    .hero-flex {
        flex-direction: column;
        text-align: center;
        gap: 2rem; /* Reduced gap between logo and text */
    }
    .hero-image {
        display: block;
        order: -1;
        margin-bottom: 1rem; /* Reduced margin */
        max-width: 60%; /* Made logo slightly smaller on mobile to save vertical space */
        margin-left: auto;
        margin-right: auto;
    }
    .site-header.scrolled {
        width: 100%;
        padding: 1rem 5%;
    }
    .site-header.scrolled .header-inner {
        padding: 0.8rem 1.5rem; /* Symmetric padding to perfectly center */
        background: rgba(20, 22, 26, 0.95); /* Darker background so it's clearly visible over content */
    }
}
