/* 
   Premium Design System 
   Clean, modern, expensive look
*/
@import url('../fonts/inter.css');

:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --accent-color: #f59e0b;
    --accent-glow: rgba(245, 158, 11, 0.5);
    --text-main: #0f172a;
    --text-light: #64748b;
    --text-white: #f8fafc;
    --bg-main: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #0f172a;
    --border-color: rgba(255, 255, 255, 0.1);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px -3px rgba(0,0,0,0.2);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
    background-color: #0b1120; /* Footer background color */
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: #0b1120; /* Dark background so footer and bottom space blend seamlessly */
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Explicitly set light background for content sections */
section:not(.hero):not(.cta-final):not(.discuss-project) {
    background-color: var(--bg-main);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

/* Premium Header */
header {
    background: rgba(15, 23, 42, 0.85); /* Dark background for white logo */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 0;
    transition: all 0.3s ease;
}

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

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

.logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover {
    color: var(--text-white);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.phone-link {
    font-weight: 600;
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.phone-link::before {
    content: '📞';
    font-size: 0.9rem;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
}

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

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

/* Sections */
section {
    padding: 120px 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.5) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.accent-text {
    color: var(--accent-color);
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 30px var(--accent-glow);
}

.hero p {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Features */
.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
    width: 100%;
}

.hero-feature-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    text-align: center;
    box-shadow: var(--shadow-glass);
}

.hero-feature-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.icon-circle {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    box-shadow: inset 0 2px 10px rgba(255,255,255,0.1);
}

.hero-feature-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0;
    letter-spacing: 0;
}

/* Common Utilities */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .nav-links { gap: 16px; font-size: 0.85rem; }
    .hero h1 { font-size: 3.5rem; }
    .hero-features { gap: 16px; }
}
@media (max-width: 860px) {
    nav { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .hero-features { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}
/* Update Header for smaller screens and prevent wrapping */
.nav-links {
    gap: 20px;
}
.nav-links a {
    font-size: 13px;
    white-space: nowrap;
}
.header-cta {
    gap: 16px;
}
.phone-link {
    font-size: 14px;
    white-space: nowrap;
}
.btn {
    white-space: nowrap;
    padding: 12px 24px;
    font-size: 14px;
}

/* Update Hero for Split Layout */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.7) 50%, rgba(15,23,42,0.4) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: left;
    color: white;
    max-width: 100%;
    margin: 0;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #93c5fd;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 90%;
    margin-left: 0;
}

.hero-checklist {
    list-style: none;
    margin-bottom: 40px;
}
.hero-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    margin-bottom: 16px;
    color: #e2e8f0;
}
.hero-checklist li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

/* Hero Form Card */
.hero-form-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-form-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.hero-form-card p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}
.form-control {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-control::placeholder {
    color: rgba(255,255,255,0.4);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.1);
}

.hero-form-card .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 2.5rem; }
    .hero::before { background: linear-gradient(180deg, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.7) 100%); }
    .nav-links, .header-cta { gap: 12px; }
    .nav-links a { font-size: 12px; }
}
@media (max-width: 768px) {
    nav { display: none; }
    .hero-form-card {
        padding: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 16px !important;
    }
    .hero-form-wrapper {
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden !important;
    }
    .hero-form-card .btn-primary {
        white-space: normal !important;
        font-size: 0.95rem !important;
        padding: 14px 10px !important;
        line-height: 1.3 !important;
    }
}
/* Hero Trust Indicators */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-avatars {
    display: flex;
}
.trust-avatars .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #0f172a;
    margin-left: -12px;
    background-size: cover;
    background-position: center;
}
.trust-avatars .avatar:first-child { margin-left: 0; background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.trust-avatars .avatar:nth-child(2) { background: linear-gradient(135deg, #10b981, #047857); }
.trust-avatars .avatar:nth-child(3) { background: linear-gradient(135deg, #f59e0b, #b45309); }

.trust-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}
.trust-text strong {
    color: white;
    font-weight: 700;
}

/* Floating Animation for Form Card */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.hero-form-card {
    animation: float 6s ease-in-out infinite;
}

/* Pulsing Button */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}
.hero-form-card .btn-primary {
    animation: pulseGlow 2s infinite;
}

/* Platforms / Tech Stack row */
.hero-platforms {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 0;
    z-index: 2;
}
.platforms-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.platform-item {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}
.platform-item:hover {
    color: white;
}
/* Premium About Section */
.about {
    background-color: var(--bg-white);
    position: relative;
    padding: 120px 0;
}
.about::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.03) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 2;
}
.about-header {
    margin-bottom: 48px;
}
.about-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
}
.about-header .subtitle {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}
.about-content p.lead {
    font-size: 1.4rem;
    color: var(--text-main);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 32px;
}

.about-quote {
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
    padding: 32px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 40px 0;
    box-shadow: var(--shadow-sm);
}
.about-quote p {
    font-size: 1.2rem;
    color: var(--text-main);
    font-style: italic;
    margin: 0;
}

/* Sidebar / Video */
.about-sidebar {
    position: sticky;
    top: 120px;
}
.video-card {
    background: white;
    padding: 16px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 32px;
}
.video-preview {
    display: block;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
    cursor: pointer;
}
.video-preview video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s, transform 3s ease;
}
.video-preview:hover video {
    opacity: 1;
    transform: scale(1.05);
}
.play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.video-preview:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: white;
    color: var(--primary-color);
}
.video-caption {
    text-align: center;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 1.1rem;
}
.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.btn-telegram {
    background: #0088cc;
    color: white;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 136, 204, 0.3);
}
.btn-telegram:hover {
    background: #0099e6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
    color: white;
}

@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-sidebar { position: static; max-width: 500px; margin: 0 auto; }
    .about-header h2 { font-size: 2.5rem; }
}
/* Update About Typography and fix button */
.about-header h2 { font-size: 2.6rem; letter-spacing: -0.03em; }
.about-content p.lead { font-size: 1.25rem; font-weight: 500; margin-bottom: 24px; color: var(--text-main); }
.about-content p { font-size: 1.05rem; line-height: 1.7; margin-bottom: 20px; color: #475569; }
.about-quote p { font-size: 1.15rem; }

.btn-outline-dark {
    background: transparent;
    border: 1px solid rgba(15, 23, 42, 0.2);
    color: var(--text-main);
}
.btn-outline-dark:hover {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.5);
    color: var(--text-main);
}
/* Premium Discuss Project Section */
.discuss-project {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}
.discuss-project::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.8) 100%);
    z-index: 1;
}
.discuss-project .container {
    position: relative;
    z-index: 2;
}

.discuss-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

/* Glass Card Content */
.discuss-content.card-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.discuss-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}
.discuss-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 20px;
}
.discuss-content p strong {
    color: white;
    font-weight: 600;
}
.discuss-content p.lead-dark {
    font-size: 1.25rem;
    color: white;
    font-weight: 500;
    margin-bottom: 32px;
}

.quote-box-light {
    background: linear-gradient(90deg, rgba(59,130,246,0.15) 0%, rgba(59,130,246,0) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 24px 32px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 32px 0;
}
.quote-box-light p {
    font-size: 1.15rem;
    color: white;
    font-style: italic;
    margin: 0;
}

/* Image */
.discuss-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}
.discuss-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}
.discuss-image img {
    width: 100%;
    display: block;
    border-radius: var(--radius-lg);
}
.discuss-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.2);
    pointer-events: none;
}

/* Feature Cards Row */
.features-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    transition: all 0.4s ease;
    text-align: center;
}
.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.icon-square {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(59,130,246,0.2) 0%, rgba(29,78,216,0.1) 100%);
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: inset 0 0 20px rgba(59,130,246,0.1);
    transition: transform 0.3s;
}
.feature-card:hover .icon-square {
    transform: scale(1.1) rotate(5deg);
}
.feature-card h4 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 16px;
    font-weight: 700;
}
.feature-card p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .discuss-grid { grid-template-columns: 1fr; gap: 40px; }
    .features-row { grid-template-columns: repeat(2, 1fr); }
    .discuss-image { transform: none; }
}
@media (max-width: 640px) {
    .features-row { grid-template-columns: 1fr; }
    .discuss-content.card-glass { padding: 32px 24px; }
}
/* Fix Mobile Header Overflow */
@media (max-width: 768px) {
    header .container {
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
    }
    .logo {
        flex: 0 1 auto !important;
        margin-bottom: 0 !important;
    }
    .text-logo {
        font-size: 1.25rem !important;
        margin-right: 0 !important;
    }
    .header-cta {
        flex: 0 1 auto !important;
        justify-content: flex-end !important;
        gap: 12px !important;
    }
    .phone-link {
        font-size: 13px !important;
    }
}
    .logo {
        flex: 1 1 100%;
        justify-content: center;
        margin-bottom: 12px;
    }
    .header-cta {
        flex: 1 1 100%;
        justify-content: center;
        gap: 12px;
    }
    .phone-link {
        font-size: 13px;
    }
    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}
/* FAQ / Accordion Section */
.faq {
    padding: 100px 0;
    background-color: #f8fafc;
}
.faq h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}
.faq-intro {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}
.faq-intro p {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
}
.quote-box {
    background: white;
    border-left: 4px solid var(--primary-color);
    padding: 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    margin-top: 32px;
}
.quote-box p {
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

/* Accordion Styles */
.accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.accordion-item {
    background: white;
    border: 1px solid rgba(15,23,42,0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}
.accordion-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-color: rgba(59,130,246,0.2);
}
.accordion-item.active {
    border-color: rgba(59,130,246,0.3);
    box-shadow: 0 10px 30px rgba(59,130,246,0.08);
}
.accordion-header {
    width: 100%;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    text-align: left;
    transition: color 0.3s;
}
.accordion-item.active .accordion-header {
    color: var(--primary-color);
}
.accordion-header .icon {
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-item.active .accordion-header .icon {
    transform: rotate(180deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-inner {
    padding: 0 32px 32px;
}
.accordion-inner p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.accordion-inner p:last-child {
    margin-bottom: 0;
}
.accordion-inner h3 {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 12px;
}
/* Team / Process Section */
.team-process {
    padding: 100px 0;
    background-color: white;
}
.team-process h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.team-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #475569;
    max-width: 600px;
    margin: 0 auto 64px;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}
.team-member {
    background: #f8fafc;
    border: 1px solid rgba(15,23,42,0.05);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    text-align: center;
    transition: all 0.4s ease;
}
.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: rgba(59,130,246,0.2);
}
.member-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-member h3 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 700;
}
.member-role {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.team-member p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Process Text */
.process-content {
    max-width: 800px;
    margin: 0 auto;
}
.process-content p {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 20px;
}
.process-content p strong {
    color: var(--text-main);
}
.process-content .quote-box {
    margin-top: 32px;
    margin-bottom: 32px;
    background: #f8fafc;
    border-left: 4px solid var(--primary-color);
}

@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .team-grid { grid-template-columns: 1fr; }
}
/* Portfolio Section */
.portfolio {
    padding: 120px 0;
    background-color: #f8fafc;
}
.portfolio h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.portfolio-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: #475569;
    max-width: 600px;
    margin: 0 auto 64px;
    line-height: 1.6;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.portfolio-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(15,23,42,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: rgba(59,130,246,0.15);
}
.portfolio-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background: #e2e8f0;
}
.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}
.portfolio-content {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.portfolio-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.3;
}
.portfolio-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}
.portfolio-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}
.metric-badge {
    background: #eff6ff;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}
.metric-badge.highlight {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 1024px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .portfolio-grid { grid-template-columns: 1fr; }
}
/* Pricing Section */
.pricing {
    padding: 120px 0;
    background-color: white;
    background-image: radial-gradient(circle at top right, rgba(59,130,246,0.03), transparent 400px),
                      radial-gradient(circle at bottom left, rgba(59,130,246,0.03), transparent 400px);
}
.pricing h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.pricing-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: #475569;
    max-width: 600px;
    margin: 0 auto 64px;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}
.pricing-card {
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: rgba(59,130,246,0.3);
}

/* Highlighted / Popular Card */
.pricing-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(59,130,246,0.1);
    transform: scale(1.03);
    z-index: 2;
}
.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 20px 40px rgba(59,130,246,0.15);
}
.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(15,23,42,0.08);
}
.pricing-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
}
.pricing-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

/* Features List */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    flex-grow: 1;
}
.pricing-features li {
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 16px;
    line-height: 1.5;
}
.pricing-features li svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    color: var(--primary-color);
    margin-top: 2px;
}

/* Pricing Action */
.pricing-action {
    text-align: center;
}
.pricing-card .btn {
    width: 100%;
    padding: 14px 24px;
    font-weight: 600;
}
.pricing-card:not(.popular) .btn {
    background: white;
    color: var(--text-main);
    border: 1px solid rgba(15,23,42,0.15);
}
.pricing-card:not(.popular) .btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

@media (max-width: 1200px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .pricing-card.popular { transform: none; }
    .pricing-card.popular:hover { transform: translateY(-8px); }
}
@media (max-width: 640px) {
    .pricing-grid { grid-template-columns: 1fr; }
}
/* Video Reviews / Useful Videos Section */
.video-reviews {
    padding: 120px 0;
    background-color: #f8fafc;
}
.video-reviews h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 64px;
    letter-spacing: -0.02em;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.video-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(15,23,42,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
}
.video-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}
.video-info p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .video-grid { grid-template-columns: 1fr; }
}
/* Text Reviews Section */
.text-reviews {
    padding: 100px 0 120px;
    background-color: white;
}
.text-reviews h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 64px;
    letter-spacing: -0.02em;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.review-card {
    background: #f8fafc;
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    border: 1px solid rgba(15,23,42,0.05);
    transition: all 0.3s ease;
}
.review-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transform: translateY(-4px);
    background: white;
    border-color: rgba(59,130,246,0.2);
}
.review-quote-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    color: rgba(59,130,246,0.1);
    width: 48px;
    height: 48px;
}
.review-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}
.review-author {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}
.review-author h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}
.review-author span {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .reviews-grid { grid-template-columns: 1fr; }
}
/* Final CTA Section */
.cta-final {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    text-align: center;
}
.cta-final h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: white;
}
.cta-final p.lead {
    font-size: 1.25rem;
    color: #ffffff; /* Increased contrast */
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.cta-contacts {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}
.cta-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}
.cta-contact-item:hover {
    color: var(--primary-color);
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}
.cta-buttons .btn {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: #0b1120;
    color: #94a3b8;
    padding: 80px 0 40px;
    font-size: 0.95rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}
.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: white;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; }
    .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
}
/* Modals CSS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15,23,42,0.8);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    background: white;
    width: 90%;
    max-width: 450px;
    padding: 40px;
    border-radius: var(--radius-lg);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}
.modal-close:hover {
    color: var(--text-main);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: 'Inter', sans-serif;
}
.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
}
/* Filter Block: Who we work with */
.filter-block {
    padding: 120px 0;
    background-color: #ffffff;
}
.filter-block h2 {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    color: var(--text-main);
    margin-bottom: 64px;
    letter-spacing: -0.02em;
}
.filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.filter-card {
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.filter-card.positive {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}
.filter-card.negative {
    background: #fef2f2;
    border: 1px solid #fecaca;
}
.filter-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.4;
}
.filter-card.positive::before {
    background: radial-gradient(circle, #86efac 0%, transparent 70%);
}
.filter-card.negative::before {
    background: radial-gradient(circle, #fca5a5 0%, transparent 70%);
}
.filter-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}
.filter-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.filter-card.positive .filter-icon {
    background: #dcfce7;
    color: #16a34a;
}
.filter-card.negative .filter-icon {
    background: #fee2e2;
    color: #dc2626;
}
.filter-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}
.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.filter-list li {
    font-size: 1.05rem;
    color: #334155;
    margin-bottom: 20px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.filter-list li svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}
.filter-card.positive .filter-list li svg {
    color: #16a34a;
}
.filter-card.negative .filter-list li svg {
    color: #dc2626;
}

@media (max-width: 992px) {
    .filter-grid { grid-template-columns: 1fr; }
}
/* Guarantees Section */
.guarantees {
    padding: 120px 0;
    background: #0f172a;
    color: white;
}
.guarantees h2 {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    color: white;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.guarantees p.subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 64px !important;
    line-height: 1.6;
    display: table !important; /* Center the shrink-wrapped block */
}
.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.guarantee-card {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all 0.3s ease;
}
.guarantee-card:hover {
    transform: translateY(-8px);
    background: #283548;
    border-color: rgba(59,130,246,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.guarantee-icon {
    width: 64px;
    height: 64px;
    background: rgba(59,130,246,0.1);
    color: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.guarantee-icon svg {
    width: 32px;
    height: 32px;
}
.guarantee-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}
.guarantee-text {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .guarantees-grid { grid-template-columns: 1fr; }
}
/* Tech Stack Section */
.tech-stack {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    overflow: hidden;
}
.tech-stack h3 {
    text-align: center;
    font-size: 1.5rem;
    color: #64748b;
    margin-bottom: 40px;
    font-weight: 600;
}
.marquee-container {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
}
.marquee-container:hover {
    animation-play-state: paused;
}
.marquee-content {
    display: flex;
    gap: 24px;
    padding: 0 12px;
    gap: 24px;
    padding: 0 12px;
}
.tech-pill {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #334155;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 12px;
}
.tech-pill:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59,130,246,0.1);
}

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

@media (max-width: 768px) {
    .marquee-container { animation-duration: 30s; }
    
    .tech-pill { padding: 12px 24px; font-size: 1rem; }
}



@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }
    header {
        padding: 8px 0 !important;
    }
    .header-cta {
        gap: 8px !important;
    }
}
/* Logo gradient text */
.text-logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-right: 24px; /* Ensure space between logo and nav on smaller screens */
}

/* Ensure flex items in header don't squish completely */
header .container {
    gap: 16px;
}

/* Portfolio Marquee */
.portfolio-marquee {
    padding: 60px 0 100px;
    background: #ffffff;
    overflow: hidden;
}
.portfolio-marquee h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 48px;
    color: var(--text-main);
    letter-spacing: -0.02em;
}
.pm-container {
    display: flex;
    width: max-content;
    animation: marquee-portfolio 50s linear infinite;
}
.pm-container:hover {
    animation-play-state: paused;
}
.pm-content {
    display: flex;
    gap: 24px;
    padding: 0 12px;
}
.pm-item {
    width: 460px;
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border: 1px solid rgba(15,23,42,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pm-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
}
.pm-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
@keyframes marquee-portfolio {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .pm-item { width: 300px; height: 180px; }
    .portfolio-marquee h3 { font-size: 1.5rem; }
}

/* --- PREMIUM REDESIGN STANDARDIZATION --- */

/* 1. Global Typography & Headings */
section {
    padding: 120px 0 !important;
}

.subtitle {
    color: var(--primary-color) !important;
    background: rgba(59,130,246,0.1) !important;
    padding: 6px 16px !important;
    border-radius: 100px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.05em !important;
    display: inline-block !important;
    margin-bottom: 24px !important;
}

.text-center h2, .about-header h2, .tech-grid h2 {
    font-size: 2.8rem !important;
    line-height: 1.2 !important;
    margin-bottom: 24px !important;
    color: #0f172a !important;
}

.lead {
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
    color: #475569 !important;
}

/* 2. Exceptions for dark backgrounds */
#problems h2 {
    color: white !important;
}
#problems .subtitle {
    color: #fff !important;
    background: #ef4444 !important;
    box-shadow: 0 4px 14px rgba(239,68,68,0.4) !important;
}
#problems p.lead {
    color: rgba(255,255,255,0.7) !important;
}
.discuss-content h2, .discuss-content .subtitle {
    color: white !important;
}
#guarantees h2 {
    color: white !important;
}

/* 3. Global Card Styles (Pricing, Advantages, Comparison) */
.pricing-card, .comparison-grid > div, .about-grid .about-content > div > div {
    transition: all 0.4s ease !important;
    border-radius: 24px !important;
}

.pricing-card:hover, .comparison-grid > div:hover, .about-grid .about-content > div > div:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06) !important;
}

/* Contact form card */
.hero-form-card {
    border-radius: 24px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

/* Animations */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Quiz Section Styles */
.quiz-container { background: rgba(30, 41, 59, 0.5); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 40px; max-width: 800px; margin: 0 auto; box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.quiz-progress-wrapper { margin-bottom: 30px; }
.quiz-progress-text { font-size: 0.9rem; color: #94a3b8; margin-bottom: 8px; text-align: right; }
.quiz-progress-bar { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.quiz-progress-fill { height: 100%; background: linear-gradient(90deg, #3b82f6, #60a5fa); border-radius: 3px; transition: width 0.4s ease; }
.quiz-question { font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; color: white; }
.quiz-options-grid { display: flex; flex-direction: column; gap: 12px; }
.quiz-option input[type="radio"] { display: none; }
.quiz-option-card { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; cursor: pointer; transition: all 0.2s ease; }
.quiz-option:hover .quiz-option-card { background: rgba(255, 255, 255, 0.08); border-color: rgba(96, 165, 250, 0.5); }
.quiz-option input[type="radio"]:checked + .quiz-option-card { background: rgba(59, 130, 246, 0.15); border-color: #3b82f6; box-shadow: 0 0 0 1px #3b82f6; }
.quiz-icon { font-size: 1.5rem; }
.quiz-text { font-size: 1.05rem; color: #f1f5f9; }
.quiz-spinner { width: 50px; height: 50px; border: 4px solid rgba(59, 130, 246, 0.2); border-top-color: #3b82f6; border-radius: 50%; animation: quiz-spin 1s linear infinite; margin: 0 auto; }
@keyframes quiz-spin { to { transform: rotate(360deg); } }
@media (max-width: 768px) { .quiz-container { padding: 24px 16px; } .quiz-question { font-size: 1.2rem; } .quiz-option-card { padding: 14px 16px; } .quiz-text { font-size: 0.95rem; } }

