/* ============================================
   AI Solutions — Premium Light Landing
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #6C3AED;
    --primary-light: #8B5CF6;
    --primary-dark: #5B21B6;
    --accent: #F97316;
    --accent-light: #FB923C;
    --accent-glow: rgba(249, 115, 22, 0.3);
    --success: #10B981;
    --bg-main: #FAFBFF;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --text-primary: #1E1B4B;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --border: rgba(107, 114, 128, 0.12);
    --shadow-sm: 0 2px 8px rgba(108, 58, 237, 0.06);
    --shadow-md: 0 8px 32px rgba(108, 58, 237, 0.1);
    --shadow-lg: 0 20px 60px rgba(108, 58, 237, 0.15);
    --shadow-glow: 0 0 40px rgba(108, 58, 237, 0.2);
    --radius: 20px;
    --radius-sm: 12px;
    --radius-xs: 8px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* === ANIMATED BACKGROUND === */
.bg-gradient {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    background: 
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(249, 115, 22, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(16, 185, 129, 0.04) 0%, transparent 60%);
}

.floating-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
    animation: float-orb 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px; height: 400px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.1));
    top: -100px; left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 350px; height: 350px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(251, 146, 60, 0.08));
    bottom: -50px; right: -50px;
    animation-delay: -7s;
}

.orb-3 {
    width: 250px; height: 250px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.06));
    top: 50%; left: 60%;
    animation-delay: -14s;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* === LAYOUT === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* === HEADER === */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(250, 251, 255, 0.85);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

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

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

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

nav { display: flex; gap: 8px; }

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.3s;
}

nav a:hover {
    color: var(--primary);
    background: rgba(108, 58, 237, 0.06);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(108, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 58, 237, 0.45);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--primary);
    border: 2px solid rgba(108, 58, 237, 0.2);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(108, 58, 237, 0.04);
    transform: translateY(-2px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #F59E0B 100%);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.45);
}

/* === GRADIENT TEXT === */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(108, 58, 237, 0.08), rgba(249, 115, 22, 0.08));
    color: var(--primary);
    border: 1px solid rgba(108, 58, 237, 0.15);
    margin-bottom: 20px;
}

.badge::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Visual - Interactive Chat Card */
.hero-visual {
    position: relative;
}

.chat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    backdrop-filter: blur(20px);
    animation: float-card 6s ease-in-out infinite;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.5deg); }
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(108, 58, 237, 0.03), rgba(249, 115, 22, 0.02));
}

.chat-header .dots { display: flex; gap: 6px; }
.chat-header .dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.chat-header .dots span:nth-child(1) { background: #EF4444; }
.chat-header .dots span:nth-child(2) { background: #F59E0B; }
.chat-header .dots span:nth-child(3) { background: #10B981; }

.chat-header .title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.chat-body { padding: 20px; }

.msg {
    padding: 12px 18px;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
    max-width: 85%;
    animation: msg-in 0.5s ease-out both;
}

.msg:nth-child(1) { animation-delay: 0.2s; }
.msg:nth-child(2) { animation-delay: 0.7s; }
.msg:nth-child(3) { animation-delay: 1.2s; }
.msg:nth-child(4) { animation-delay: 1.7s; }

@keyframes msg-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.msg.user {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.msg.bot {
    background: #F3F4F6;
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.msg.bot .bot-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 100px;
    background: rgba(16, 185, 129, 0.08);
    color: var(--success);
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 4px;
}

/* Floating badges around hero card */
.float-badge {
    position: absolute;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: float-badge 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.float-badge.top-right {
    top: -20px; right: -30px;
    animation-delay: -1s;
}

.float-badge.bottom-left {
    bottom: -15px; left: -50px;
    animation-delay: -2.5s;
}

.float-badge i { font-size: 1.1rem; }
.float-badge .fb-green { color: var(--success); }
.float-badge .fb-orange { color: var(--accent); }
.float-badge .fb-purple { color: var(--primary); }

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

/* === SECTION STYLING === */
section { padding: 100px 0; position: relative; z-index: 2; }

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-card-hover);
}

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

.service-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, rgba(108, 58, 237, 0.1), rgba(139, 92, 246, 0.15));
    color: var(--primary);
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(251, 146, 60, 0.15));
    color: var(--accent);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(52, 211, 153, 0.15));
    color: var(--success);
}

.service-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* === PORTFOLIO / CASES === */
.cases-section { background: linear-gradient(180deg, var(--bg-main) 0%, #F0EAFF 50%, var(--bg-main) 100%); }

.case-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
}

.case-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.case-card.reverse { direction: rtl; }
.case-card.reverse > * { direction: ltr; }

.case-badge-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.case-badge-tag.purple { background: rgba(108, 58, 237, 0.08); color: var(--primary); }
.case-badge-tag.orange { background: rgba(249, 115, 22, 0.08); color: var(--accent); }
.case-badge-tag.green { background: rgba(16, 185, 129, 0.08); color: var(--success); }
.case-badge-tag.blue { background: rgba(59, 130, 246, 0.08); color: #3B82F6; }

.case-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.case-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; list-style: none; }

.tech-tags li {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    background: #F3F4F6;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.metrics-row { display: flex; gap: 32px; }

.metric-item { text-align: left; }

.metric-val {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.metric-val.purple { color: var(--primary); }
.metric-val.orange { color: var(--accent); }
.metric-val.green { color: var(--success); }

.metric-label {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Case visual */
.case-visual {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    transition: transform 0.4s ease;
}

.case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card:hover .case-img {
    transform: scale(1.04);
}

.code-block {
    background: #1E1B4B;
    border-radius: var(--radius);
    padding: 24px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.82rem;
    line-height: 1.8;
    color: #E2E8F0;
    overflow: hidden;
}

.code-block .kw { color: #C084FC; }
.code-block .fn { color: #60A5FA; }
.code-block .str { color: #34D399; }
.code-block .cm { color: #6B7280; }

/* === WORKFLOW === */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.step-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.4s;
    position: relative;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 20px;
}

.step-card:nth-child(1) .step-number { background: linear-gradient(135deg, #6C3AED, #8B5CF6); }
.step-card:nth-child(2) .step-number { background: linear-gradient(135deg, #F97316, #FB923C); }
.step-card:nth-child(3) .step-number { background: linear-gradient(135deg, #10B981, #34D399); }

.step-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* === CTA === */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    text-align: center;
    padding: 80px 60px;
    border-radius: calc(var(--radius) + 8px);
    background: linear-gradient(135deg, var(--primary) 0%, #4F46E5 30%, #7C3AED 60%, var(--accent) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-box h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    letter-spacing: -1px;
}

.cta-box p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 12px;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box .ooo-badge {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 36px;
}

.cta-box .btn {
    position: relative;
    font-size: 1.15rem;
    padding: 18px 40px;
}

.cta-box .btn-accent {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-box .btn-accent:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

/* === FOOTER === */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

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

footer p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 2.2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .case-card { grid-template-columns: 1fr; padding: 28px; }
    .case-card.reverse { direction: ltr; }
    .workflow-steps { grid-template-columns: 1fr; }
    .section-title { font-size: 2rem; }
    .cta-box { padding: 48px 24px; }
    .cta-box h2 { font-size: 2rem; }
    nav { display: none; }
    .header-container .btn { font-size: 0.82rem; padding: 10px 18px; }
    .float-badge { display: none; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { text-align: center; justify-content: center; }
    .metrics-row { gap: 20px; }
    .footer-content { flex-direction: column; gap: 12px; }
}

/* === MODAL DIALOG === */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 27, 75, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius);
    max-width: 500px;
    width: 100%;
    padding: 40px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.close-btn {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--primary);
}

.modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    text-align: left;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(108, 58, 237, 0.15);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    outline: none;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 12px rgba(108, 58, 237, 0.15);
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
}

/* Spinner styling */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form status states */
.form-status {
    text-align: center;
    padding: 20px 0;
}

.form-status i {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.success-status i { color: var(--success); }
.error-status i { color: #EF4444; }

.form-status h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-status p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* === ADVANTAGES SECTION === */
#advantages {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(108, 58, 237, 0.02) 50%, rgba(255, 255, 255, 0) 100%);
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.adv-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(108, 58, 237, 0.1);
    border-radius: var(--radius);
    padding: 36px;
    display: flex;
    gap: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.adv-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), 0 10px 30px rgba(108, 58, 237, 0.08);
    background: #fff;
}

.adv-icon {
    font-size: 2.2rem;
    color: var(--primary);
    background: linear-gradient(135deg, rgba(108, 58, 237, 0.1) 0%, rgba(249, 115, 22, 0.05) 100%);
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s;
}

.adv-card:hover .adv-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    transform: rotate(5deg) scale(1.05);
}

.adv-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.adv-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === PREMIUM HEADER UPDATES === */
header {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(108, 58, 237, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-tg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(108, 58, 237, 0.05);
}

.header-tg-btn:hover {
    color: var(--primary);
    background: rgba(108, 58, 237, 0.1);
    transform: translateY(-1px);
}

/* === BIG PREMIUM FOOTER === */
.footer-premium {
    background: linear-gradient(180deg, #FFFFFF 0%, #F7F5FF 100%);
    color: var(--text-secondary);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(108, 58, 237, 0.08);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 0;
    width: 30px; height: 2px;
    background: var(--primary);
}

.footer-col p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.footer-about .logo {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(108, 58, 237, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(108, 58, 237, 0.1);
}

.social-icon:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(108, 58, 237, 0.2);
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
}

.footer-contact-info i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(108, 58, 237, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Responsive updates for grid layout */
@media (max-width: 1024px) {
    .advantages-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}


