@import url("https://fonts.googleapis.com/css?family=Sora:300,400,600,800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Literata:wght@400;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap");

:root {
    --bg-deep: #02040a;
    --bg-soft: #060912;
    --accent-primary: #0070f3;
    --accent-secondary: #4f46e5;
    --text-primary: #f8fafc;
    --text-secondary: #8b9bb4;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(0, 112, 243, 0.1);
    --glass-blur: blur(24px);
}

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

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

body {
    background: #010208;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    font-family: 'Sora', sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
}

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

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

ul {
    list-style: none;
}

/* Base Grain/Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 9999;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 30%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.font-mono {
    font-family: 'Share Tech Mono', monospace;
}

.font-sora {
    font-family: 'Sora', sans-serif;
}

.text-secondary {
    color: var(--text-secondary);
}

.bg-soft {
    background-color: rgba(6, 9, 18, 0.2);
    backdrop-filter: blur(15px);
}

/* Navbar V3 */
.v3-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem;
    pointer-events: none;
}

@media (min-width: 768px) {
    .v3-navbar {
        padding: 2.5rem 4rem;
    }
}

.v3-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    pointer-events: auto;
    color: #fff;
    display: flex;
    align-items: center;
    transition: letter-spacing 0.4s ease;
}

.v3-logo:hover {
    letter-spacing: 0.2em;
}

.v3-logo .logo-accent {
    font-weight: 400;
    color: var(--accent-primary);
    padding-left: 0.4rem;
    text-shadow: 0 0 15px rgba(0, 112, 243, 0.4);
}

.v3-nav-dock {
    display: none;
    pointer-events: auto;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 1rem 3rem;
    border-radius: 9999px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    align-items: center;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .v3-nav-dock {
        display: flex;
    }
}

.v3-nav-link {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.v3-nav-link:hover {
    color: #fff;
}

.v3-btn-init {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #000000;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    white-space: nowrap;
}

.v3-btn-init:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

/* Section Common */
.section-v3 {
    padding: 8rem 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

@media (min-width: 768px) {
    .section-v3 {
        padding: 12rem 2rem;
    }
}

.section-title-v3 {
    font-size: 2.2rem;
    margin-bottom: 3.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-title-v3 {
        font-size: 4rem;
    }
}

/* Hero V3 */
.v3-hero {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}

.v3-hero-glow,
.v3-hero-grid {
    display: none !important;
}

.v3-hero-content {
    position: relative;
    z-index: 50;
    text-align: center;
    padding: 0 1.5rem;
    max-width: 1140px;
    margin: 0 auto;
}

.v3-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.5rem;
    margin-bottom: 3.5rem;
    background: rgba(0, 112, 243, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 112, 243, 0.2);
    border-radius: 9999px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    font-weight: 700;
    color: var(--accent-primary);
}

.v3-hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-primary);
    animation: v3-pulse 2s infinite;
}

@keyframes v3-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.5;
        box-shadow: 0 0 0 0 rgba(0, 112, 243, 0.7);
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 0 10px rgba(0, 112, 243, 0);
    }

    100% {
        transform: scale(0.9);
        opacity: 0.5;
        box-shadow: 0 0 0 0 rgba(0, 112, 243, 0);
    }
}

.v3-hero-title {
    font-size: 2rem;
    margin-bottom: 2.2rem;
    line-height: 1.3;
    text-align: center;
}

@media (min-width: 768px) {
    .v3-hero-title {
        font-size: 3.8rem;
    }
}

.v3-hero-title .white {
    color: #fff;
}

.v3-glitch {
    filter: drop-shadow(0 0 20px rgba(0, 112, 243, 0.25));
}

.v3-hero-desc {
    max-width: 600px;
    margin: 0 auto 5rem;
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
}

.v3-hero-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

@media (min-width: 640px) {
    .v3-hero-btns {
        flex-direction: row;
    }
}

.v3-btn-audit {
    position: relative;
    overflow: hidden;
    background: #fff;
    color: #000;
    padding: 1.5rem 3.5rem;
    border-radius: 9999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
    transition: all 0.4s ease;
}

.v3-btn-audit .label {
    position: relative;
    z-index: 1;
}

.v3-btn-audit .overlay {
    position: absolute;
    inset: 0;
    background: var(--accent-primary);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
}

.v3-btn-audit:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 112, 243, 0.35);
}

.v3-btn-audit:hover .overlay {
    transform: translateY(0);
}

.v3-btn-explorer {
    padding: 1.5rem 3.5rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    border-radius: 9999px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
    transition: all 0.4s ease;
}

.v3-btn-explorer:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: #fff;
}

.v3-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    opacity: 0.4;
}

.v3-scroll-indicator .text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    color: var(--text-secondary);
    font-weight: 700;
}

.v3-scroll-indicator .line {
    width: 1px;
    height: 5rem;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
}

/* Results V3 */
.v3-results-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 4rem;
}

@media (min-width: 768px) {
    .v3-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .v3-results-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.v3-result-card .number {
    font-size: 6rem;
    font-weight: 700;
    font-family: 'Imbue', serif;
    margin-bottom: 1rem;
    line-height: 1;
}

.v3-result-card .label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 0.5rem;
}

/* Expertise V3 */
.v3-expertise-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .v3-expertise-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.v3-expertise-card {
    background: rgba(6, 9, 18, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: 2.5rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.v3-expertise-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-15px);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
}

.v3-expertise-card .icon {
    color: var(--accent-primary);
    margin-bottom: 3rem;
    opacity: 0.8;
}

.v3-expertise-card h3 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

/* Method V3 */
.v3-method-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
    border-top: 1px solid var(--glass-border);
}

@media (min-width: 768px) {
    .v3-method-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.v3-method-card {
    padding: 4rem;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .v3-method-card {
        border-right: 1px solid var(--glass-border);
    }

    .v3-method-card:last-child {
        border-right: none;
    }
}

.v3-method-card .step-num {
    font-size: 0.75rem;
    color: var(--accent-primary);
    letter-spacing: 0.5em;
    margin-bottom: 2rem;
    display: block;
}

.v3-method-card h3 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.v3-method-card:hover {
    background: rgba(0, 112, 243, 0.03);
}

/* Portfolio V3 */
.v3-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 4rem;
}

@media (min-width: 768px) {
    .v3-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.v3-portfolio-card {
    position: relative;
    border-radius: 3rem;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.v3-portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.v3-portfolio-card:hover img {
    transform: scale(1.1);
}

.v3-portfolio-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 4rem;
}

.v3-portfolio-card .category {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.v3-portfolio-card h3 {
    font-size: 4rem;
    color: #fff;
}

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

@media (min-width: 768px) {
    .v3-pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.v3-pricing-card {
    background: rgba(2, 4, 10, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 5rem 4rem;
    border-radius: 3rem;
    display: flex;
    flex-direction: column;
    transition: all 0.5s ease;
}

.v3-pricing-card:hover {
    border-color: #fff;
}

.v3-pricing-card .pack-name {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6em;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.v3-pricing-card .price {
    font-size: 6rem;
    font-family: 'Imbue', serif;
    margin-bottom: 4rem;
    line-height: 1;
}

.v3-pricing-card .price::before {
    content: "€";
    font-size: 2rem;
    vertical-align: top;
    margin-right: 0.5rem;
    color: var(--accent-primary);
}

.v3-pricing-card .features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.v3-pricing-card .features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.v3-pricing-card .features .icon {
    color: var(--accent-primary);
}

/* Contact V3 */
.v3-contact-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 8rem;
}

@media (min-width: 1024px) {
    .v3-contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.v3-contact-form {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.v3-contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.v3-contact-form label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: #fff;
    opacity: 0.8;
}

.v3-contact-form input,
.v3-contact-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    transition: border-color 0.3s ease;
    width: 100%;
    outline: none;
}

.v3-contact-form input::placeholder,
.v3-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.v3-contact-form input:focus,
.v3-contact-form textarea:focus {
    border-color: var(--accent-primary);
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    font-size: 1.5rem;
}

.contact-info .icon {
    color: var(--accent-primary);
}

/* Utils */
.mt-8 {
    margin-top: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.w-full {
    width: 100%;
}

.label {
    position: relative;
    z-index: 10;
}

/* Service Page Zig-Zag System */
.v3-zigzag-container {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.v3-zigzag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .v3-zigzag-item {
        flex-direction: row;
        gap: 6rem;
    }

    .v3-zigzag-item.reverse {
        flex-direction: row-reverse;
    }
}

.v3-zigzag-img-box {
    flex: 1;
    width: 100%;
    position: relative;
    aspect-ratio: 16/10;
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.v3-zigzag-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: transform 1s ease;
}

.v3-zigzag-item:hover .v3-zigzag-img-box img {
    transform: scale(1.05);
}

.v3-zigzag-content {
    flex: 1;
    text-align: left;
}

.v3-step-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(0, 112, 243, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 112, 243, 0.3);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Share Tech Mono', monospace;
    color: var(--accent-primary);
    font-weight: 700;
    z-index: 10;
}

/* Utilities for Service Pages (Tailwind Replacements) */
.text-accent-primary {
    color: var(--accent-primary);
}

.text-white {
    color: #fff;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-24 {
    margin-bottom: 6rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.aspect-video {
    aspect-ratio: 16/9;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.leading-relaxed {
    line-height: 1.625;
}

.gap-4 {
    gap: 1rem;
}

.gap-12 {
    gap: 3rem;
}

.v3-feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.v3-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.v3-feature-item:hover {
    color: #fff;
}

.v3-feature-item .icon {
    color: var(--accent-primary);
    flex-shrink: 0;
}

/* Icon Animation System */
.v3-icon-animate {
    animation: v3-float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(0, 112, 243, 0.4));
}

@keyframes v3-float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.v3-zigzag-item:nth-child(even) .v3-icon-animate {
    animation-delay: -2s;
}

.v3-zigzag-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

@media (min-width: 768px) {
    .v3-zigzag-content h3 {
        font-size: 3rem;
    }
}

.v3-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .v3-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

::-webkit-scrollbar {
    display: none;
}