/* ===== CSS Variables ===== */
:root {
    --bg-dark: #050505;
    --bg-card: rgba(20, 20, 20, 0.6);
    --bg-card-hover: rgba(30, 30, 30, 0.8);
    --gold: #D4A843;
    --gold-light: #F0C96A;
    --gold-glow: rgba(212, 168, 67, 0.2);
    --text-main: #FAFAFA;
    --text-muted: #A0A0A0;
    --border-glass: rgba(255, 255, 255, 0.05);
    --border-gold: rgba(212, 168, 67, 0.3);
    
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #030303; /* Mélyebb, tiszta obszidián fekete */
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    cursor: none;
}

@media (max-width: 1024px) {
    body {
        cursor: auto;
    }
}

::selection {
    background-color: var(--gold);
    color: #000;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

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

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

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    letter-spacing: 0;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: 60px;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--gold);
    color: #000;
    box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 168, 67, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* ===== Apple + Linear Premium Background System ===== */

/* 1. LINEAR-style Micro Grid */
.bg-grid {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 1;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 40%, transparent 100%);
}

/* 2. APPLE-style Volumetric Spotlights (section-aware, controlled by JS ScrollTrigger) */
.apple-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(130px);
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: screen;
    will-change: transform, opacity;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Primary Gold Spotlight — Hero anchor */
.blob-1 {
    width: 65vw;
    height: 65vw;
    background: radial-gradient(circle, rgba(212,168,67,0.38) 0%, rgba(180,120,20,0.1) 55%, transparent 100%);
    top: -25vh;
    left: -15vw;
    opacity: 0.7;
    animation: blob-drift-1 30s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

/* Secondary Dark Void — counterbalance */
.blob-2 {
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(40,20,80,0.6) 0%, rgba(10,5,30,0.15) 65%, transparent 100%);
    bottom: -15vh;
    right: -12vw;
    opacity: 0.5;
    animation: blob-drift-2 38s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

/* Tertiary Warm Bronze — mid-page glow */
.blob-3 {
    width: 75vw;
    height: 75vw;
    background: radial-gradient(circle, rgba(180,130,40,0.2) 0%, rgba(100,70,10,0.05) 60%, transparent 100%);
    top: 40vh;
    left: 10vw;
    opacity: 0.45;
    animation: blob-drift-3 45s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

/* 3. VERCEL-style Conic Arc in hero (added via JS as pseudo canvas) */
.bg-conic-arc {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 140vw;
    height: 140vw;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(212, 168, 67, 0.04) 40deg,
        rgba(212, 168, 67, 0.09) 70deg,
        rgba(240, 200, 100, 0.05) 100deg,
        transparent 130deg,
        transparent 360deg
    );
    animation: conic-rotate 25s linear infinite;
    transition: opacity 1.5s ease;
}

.bg-conic-arc.visible {
    opacity: 1;
}

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

/* Blob drift animations (organic, non-linear) */
@keyframes blob-drift-1 {
    0%   { transform: translate(0vw, 0vh) scale(1); }
    25%  { transform: translate(5vw, -5vh) scale(1.08); }
    50%  { transform: translate(8vw, 3vh) scale(0.95); }
    75%  { transform: translate(3vw, 8vh) scale(1.05); }
    100% { transform: translate(-4vw, -2vh) scale(1.02); }
}

@keyframes blob-drift-2 {
    0%   { transform: translate(0vw, 0vh) scale(1); }
    30%  { transform: translate(-6vw, 4vh) scale(1.1); }
    60%  { transform: translate(4vw, -6vh) scale(0.9); }
    100% { transform: translate(2vw, 5vh) scale(1.05); }
}

@keyframes blob-drift-3 {
    0%   { transform: translate(0vw, 0vh) scale(1); }
    20%  { transform: translate(-4vw, -8vh) scale(1.06); }
    60%  { transform: translate(6vw, 4vh) scale(0.94); }
    100% { transform: translate(-2vw, 6vh) scale(1.03); }
}

/* 4. Film Grain (canvas-based, much sharper than SVG filter) */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 10;
    opacity: 0.032;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    animation: grain-shift 0.5s steps(1) infinite;
}

@keyframes grain-shift {
    0%   { background-position: 0px 0px; }
    10%  { background-position: -50px -20px; }
    20%  { background-position: 30px -40px; }
    30%  { background-position: -80px 10px; }
    40%  { background-position: 60px -60px; }
    50%  { background-position: -20px 80px; }
    60%  { background-position: 70px 30px; }
    70%  { background-position: -40px -70px; }
    80%  { background-position: 20px 60px; }
    90%  { background-position: -60px 20px; }
    100% { background-position: 0px 0px; }
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 20px; height: 20px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}
.custom-cursor.active {
    width: 80px; height: 80px;
    background-color: var(--gold);
    color: #000;
}
.cursor-text {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s;
}
.custom-cursor.active .cursor-text {
    opacity: 1;
}

@media (max-width: 1024px) {
    .custom-cursor { display: none; }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-glass);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0;
}

.logo-img {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(212, 168, 67, 0.5);
    box-shadow: 0 0 15px rgba(212, 168, 67, 0.2);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

.logo:hover .logo-img {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(212, 168, 67, 0.4);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:not(.btn):hover {
    color: var(--text-main);
}

.lang-switcher, .mobile-lang-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    padding: 4px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--gold);
    color: #000;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 9px; }
.mobile-menu-btn span:nth-child(3) { top: 18px; }

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

.mobile-menu {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--bg-dark);
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

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

.mobile-link {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

/* ===== Hero Section — Centered Monarch Style ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 90px;
    padding-bottom: 60px;
    text-align: center;
    position: relative;
}

.hero-container-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Gold-bordered title badge (like the screenshot frame) */
.hero-title-badge {
    display: inline-block;
    padding: 10px 36px;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    /* Corner accents like the original */
    box-shadow: 0 0 20px rgba(212, 168, 67, 0.15), inset 0 0 20px rgba(212, 168, 67, 0.03);
    background: rgba(212, 168, 67, 0.04);
    backdrop-filter: blur(8px);
}

/* Decorative corner ticks */
.hero-title-badge::before,
.hero-title-badge::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-color: var(--gold-light);
    border-style: solid;
    opacity: 0.7;
}
.hero-title-badge::before {
    top: -3px; left: -3px;
    border-width: 2px 0 0 2px;
}
.hero-title-badge::after {
    bottom: -3px; right: -3px;
    border-width: 0 2px 2px 0;
}

/* 2-line main heading */
.hero-main-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
}

.hero-line-1 {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    color: var(--text-main);
    text-transform: uppercase;
}

.hero-line-2 {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    /* Gold gradient like the screenshot */
    background: linear-gradient(135deg, #F0C96A 0%, #D4A843 40%, #A07820 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

.word-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

.animated-word {
    display: inline-block;
    transform: translateY(100%);
    will-change: transform;
}
/* Fix: hero-line-2 gold gradient on animated words */
.hero-line-2 .animated-word {
    background: linear-gradient(135deg, #F0C96A 0%, #D4A843 40%, #A07820 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact form */
.contact-form {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-main);
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
    resize: none;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,168,67,0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.2);
}

.form-msg {
    text-align: center;
    font-size: 14px;
    margin-top: 8px;
    display: none;
}

.form-msg.success { color: #2ecc71; }
.form-msg.error   { color: #e74c3c; }


.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0;
    max-width: 540px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Stats row at bottom of hero */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    margin-top: 8px;
}

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

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border-glass);
}

/* Legacy badge class kept for other uses */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 168, 67, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

/* Old hero-container kept for potential fallback */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}


/* Glassmorphism Cards — LINEAR-style Magnetic Border + Apple glow */
.glass-card {
    background: rgba(10, 10, 10, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

/* Linear-style: outer border glow layer */
.glass-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 168, 67, 0.4), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

/* Ambient interior glow on mouse proximity */
.glass-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 168, 67, 0.07), transparent 40%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    border-radius: 24px;
}

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

.glass-card > * {
    position: relative;
    z-index: 1;
    transform: translateZ(30px);
}

.visual-card {
    padding: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: var(--transition);
}

.visual-card:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    border-color: rgba(212, 168, 67, 0.2);
}

.card-header .dots {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
}

.card-header .dots span {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #333;
}

.card-header .dots span:nth-child(1) { background: #FF5F56; }
.card-header .dots span:nth-child(2) { background: #FFBD2E; }
.card-header .dots span:nth-child(3) { background: #27C93F; }

.stat-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-icon {
    width: 60px; height: 60px;
    background: rgba(212, 168, 67, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat-graph {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    height: 150px;
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
}

.bar {
    flex: 1;
    background: #333;
    border-radius: 6px 6px 0 0;
    animation: growUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: bottom;
}

@keyframes growUp {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* ===== Problem / Solution ===== */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid transparent;
    background-clip: padding-box;
    padding: 40px 30px;
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Linear-style magnetic border for solution cards */
.solution-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    padding: 1px;
    background: linear-gradient(
        var(--border-angle, 135deg),
        rgba(212, 168, 67, 0) 0%,
        rgba(212, 168, 67, var(--border-opacity, 0)) 45%,
        rgba(240, 200, 100, var(--border-opacity, 0)) 50%,
        rgba(212, 168, 67, 0) 55%,
        rgba(212, 168, 67, 0) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.solution-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-5px);
}

.solution-card.highlighted {
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.8) 0%, rgba(20, 20, 20, 0.8) 100%);
    border-color: transparent;
    box-shadow: 0 10px 40px rgba(212, 168, 67, 0.08), inset 0 1px 0 rgba(212, 168, 67, 0.15);
}

.icon-wrapper {
    width: 50px; height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.icon-wrapper.gold {
    background: rgba(212, 168, 67, 0.1);
    color: var(--gold);
}

.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.solution-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== Services ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px;
}

.service-icon {
    width: 60px; height: 60px;
    margin-bottom: 30px;
    color: var(--gold);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
}

/* ===== Plans ===== */
.plans {
    background: radial-gradient(circle at 50% 45%, rgba(212, 168, 67, 0.06) 0%, transparent 62%);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.plan-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.plan-card-featured {
    background: linear-gradient(180deg, rgba(42, 34, 18, 0.78) 0%, rgba(18, 18, 18, 0.88) 100%);
    box-shadow: 0 18px 70px rgba(212, 168, 67, 0.14), inset 0 1px 0 rgba(240, 201, 106, 0.18);
}

.plan-badge {
    align-self: flex-start;
    padding: 7px 12px;
    margin-bottom: 18px;
    border-radius: 100px;
    background: rgba(212, 168, 67, 0.13);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 700;
}

.plan-kicker {
    display: block;
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 10px;
}

.plan-header h3 {
    font-size: 1.55rem;
    margin-bottom: 10px;
}

.plan-price {
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 16px;
}

.plan-header p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.plan-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 28px 0 30px;
    color: var(--text-main);
}

.plan-list li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.plan-list li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 14px rgba(212, 168, 67, 0.35);
}

.plan-btn {
    width: 100%;
    margin-top: auto;
    text-align: center;
}

/* ===== Process ===== */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 0; left: 40px;
    width: 2px; height: 100%;
    background: linear-gradient(to bottom, transparent, var(--border-glass), transparent);
}

.process-step {
    display: flex;
    gap: 40px;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Linear-style magnetic border for process steps */
.process-step::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    padding: 1px;
    background: linear-gradient(
        var(--border-angle, 135deg),
        rgba(212, 168, 67, 0) 0%,
        rgba(212, 168, 67, var(--border-opacity, 0)) 45%,
        rgba(240, 200, 100, var(--border-opacity, 0)) 50%,
        rgba(212, 168, 67, 0) 55%,
        rgba(212, 168, 67, 0) 100%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.1);
    min-width: 80px;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-muted);
}

/* ===== Portfolio ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    display: block;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.portfolio-image {
    aspect-ratio: 16/10;
    background: #111;
    overflow: hidden;
    position: relative;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-weight: 500;
    background: linear-gradient(45deg, #0a0a0a, #1a1a1a);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Real screenshot images */
.portfolio-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.portfolio-item:hover .portfolio-screenshot {
    transform: scale(1.06);
}

.portfolio-item:hover .photo-placeholder {
    transform: scale(1.05);
}

.portfolio-content {
    position: absolute;
    bottom: 20px; left: 20px; right: 20px;
    padding: 24px;
    transform: translateY(0);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-content {
    border-color: var(--border-gold);
}

.portfolio-title {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.portfolio-category {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 120px 0;
    background: radial-gradient(circle at center, rgba(212, 168, 67, 0.05) 0%, transparent 70%);
}

.cta-btn {
    padding-left: 48px;
    padding-right: 48px;
}

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 30px;
    background: rgba(5, 5, 5, 0.8);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-desc {
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 300px;
}

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

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.link-group a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.link-group a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .solution-grid, .services-grid, .plans-grid {
        grid-template-columns: 1fr;
    }
    .hero-container {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .hero-line-1, .hero-line-2 {
        font-size: clamp(1.8rem, 5vw, 3rem);
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    
    .section { padding: 60px 0; }
    
    .hero { padding-top: 100px; padding-bottom: 40px; }
    .hero-container-centered { gap: 20px; }
    .hero-title-badge { font-size: 0.9rem; padding: 8px 24px; }
    .hero-line-1, .hero-line-2 { font-size: clamp(1.6rem, 6vw, 2.5rem); }
    .hero-subtitle { font-size: 1rem; }
    .hero-cta { flex-direction: column; align-items: center; }
    .btn-large { width: 100%; max-width: 360px; }
    .hero-stats { 
        gap: 20px; 
        padding: 16px 24px;
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 16px;
    }

    .portfolio-grid { grid-template-columns: 1fr; }
    .plan-card { padding: 28px; }
    
    .process-steps::before { left: 24px; }
    .process-step { flex-direction: column; gap: 20px; padding: 30px; }
    
    .footer-links { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-line-1, .hero-line-2 { font-size: 1.5rem; }
    .hero-stats { gap: 12px; }
    .hero-stat-divider { display: none; }
}
