/* --- VARIABLES & RESET --- */
:root {
    /* Colors */
    --color-primary: #4F46E5; /* Electric Indigo */
    --color-primary-dark: #4338CA;
    --color-secondary: #0EA5E9; /* Sky Blue */
    --color-accent: #10B981; /* Emerald (Success/Income) */
    
    --color-text-main: #1E293B;
    --color-text-muted: #64748B;
    --color-text-light: #F8FAFC;
    
    --color-bg-body: #FFFFFF;
    --color-bg-light: #F1F5F9;
    --color-bg-dark: #0F172A;
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Spacing & sizing */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

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

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

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

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

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-text-light);
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn--sm {
    padding: 10px 20px;
    font-size: 14px;
    width: 100%;
}

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
}

.logo__text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    color: var(--color-text-main);
    letter-spacing: -0.5px;
}

.logo__icon {
    color: var(--color-primary);
}

/* Nav */
.nav__list {
    display: flex;
    gap: 30px;
}

.nav__link {
    font-weight: 500;
    font-size: 16px;
    color: var(--color-text-main);
    position: relative;
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-primary);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__mobile-footer {
    display: none;
}

/* Burger */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1100;
}

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

.burger__line:nth-child(1) { top: 0; }
.burger__line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger__line:nth-child(3) { bottom: 0; }

.burger.active .burger__line:nth-child(1) { transform: rotate(45deg); top: 9px; }
.burger.active .burger__line:nth-child(2) { opacity: 0; }
.burger.active .burger__line:nth-child(3) { transform: rotate(-45deg); bottom: 9px; }

/* --- FOOTER --- */
.footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 60px 0 20px;
    margin-top: auto; /* Push footer to bottom if content is short */
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer__logo .logo__text {
    color: var(--color-text-light);
}

.footer__desc {
    color: #94A3B8;
    margin: 20px 0;
    font-size: 15px;
}

.footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-accent);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.footer__title {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--color-text-light);
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    color: #94A3B8;
    font-size: 15px;
}

.footer__link:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #94A3B8;
    font-size: 15px;
}

.footer__icon {
    width: 20px;
    height: 20px;
    color: var(--color-secondary);
    flex-shrink: 0;
}

.footer__note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--color-accent);
    font-weight: 500;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #64748B;
    font-size: 14px;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .burger { display: block; }
    .header__cta { display: none; }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-bg-body);
        padding: 100px 20px 40px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
    }

    .nav.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 20px;
        margin-bottom: auto;
    }

    .nav__link {
        font-size: 18px;
        font-weight: 600;
    }
    
    .nav__mobile-footer {
        display: block;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: 140px 0 80px; /* Top padding for fixed header */
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(to bottom, #F8FAFC, #FFFFFF);
}

.hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

.hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Badge */
.hero__badge-wrapper {
    margin-bottom: 24px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 30px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.3);
    animation: pulse 2s infinite;
}

/* Content */
.hero__title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--color-text-main);
}

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

.hero__desc {
    font-size: 18px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero__actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn--lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn--outline:hover {
    background: rgba(79, 70, 229, 0.05);
    transform: translateY(-2px);
}

.hero__features {
    display: flex;
    gap: 30px;
    border-top: 1px solid #E2E8F0;
    padding-top: 24px;
}

.hero__feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-main);
}

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

/* Visual & Floating Cards */
.hero__visual {
    position: relative;
}

.hero__img-box {
    position: relative;
    z-index: 1;
}

.hero__img {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero__visual:hover .hero__img {
    transform: perspective(1000px) rotateY(0deg);
}

.hero__floating-card {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
    animation: float 4s ease-in-out infinite;
}

.hero__floating-card--1 {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}

.hero__floating-card--2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 2s;
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #EEF2FF;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box--success {
    background: #ECFDF5;
    color: var(--color-accent);
}

.text-sm {
    font-size: 14px;
}

/* Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(79, 70, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

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

/* Media Queries for Hero */
@media (max-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero__desc, .hero__actions, .hero__features {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero__features {
        justify-content: center;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__floating-card {
        display: none; /* Hide floating cards on smaller screens to save space */
    }
    
    .hero__img {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__features {
        flex-direction: column;
        gap: 15px;
    }
}

/* --- GLOBAL SECTION STYLES --- */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-title {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
}

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

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

/* --- FEATURES GRID --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card__icon-wrapper {
    width: 60px;
    height: 60px;
    background: #F1F5F9;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-text-main);
    transition: var(--transition);
}

.feature-card__icon-wrapper svg {
    width: 30px;
    height: 30px;
    stroke-width: 2px;
}

.feature-card:hover .feature-card__icon-wrapper {
    background: var(--color-primary);
    color: #fff;
    transform: rotateY(180deg);
}

.feature-card__title {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.feature-card__text {
    color: var(--color-text-muted);
    margin-bottom: 24px;
    flex-grow: 1; /* Pushes the link to bottom */
}

.feature-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 15px;
}

.feature-card__link:hover {
    gap: 12px; /* Arrow moves on hover */
    color: var(--color-primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-title { font-size: 28px; }
    .feature-card { padding: 30px 20px; }
}

/* --- DARK SECTION MODIFIER --- */
.section--dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

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

.text-muted-light {
    color: #94A3B8; /* Lighter slate for dark bg */
}

.mt-60 { margin-top: 60px; }
.mt-20 { margin-top: 20px; }

/* --- STEPS PROCESS --- */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.step-item {
    flex: 1;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 24px;
    border-radius: 20px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.step-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-5px);
    border-color: rgba(79, 70, 229, 0.3);
}

.step-item__number {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    pointer-events: none;
}

.step-item:hover .step-item__number {
    color: rgba(79, 70, 229, 0.1);
}

.step-item__icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.step-item__title {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--color-text-light);
}

.step-item__text {
    font-size: 15px;
    color: #94A3B8;
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px; /* Align visually with center of cards */
    color: #475569;
}

/* Button Glow Effect */
.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
}

.glow-effect:hover::after {
    transform: scale(1);
    opacity: 1;
}

.note-text {
    font-size: 14px;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Responsive Steps */
@media (max-width: 992px) {
    .steps {
        flex-direction: column;
        gap: 30px;
    }

    .step-connector {
        transform: rotate(90deg);
        padding-top: 0;
    }
}

/* --- LIGHT SECTION --- */
.section--light {
    background-color: var(--color-bg-light); /* Light Gray/Blue tint */
}

/* --- SPLIT LAYOUT (Text + Image) --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-pill {
    display: inline-block;
    padding: 6px 14px;
    background-color: #E0E7FF;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-text {
    font-size: 17px;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Benefit List */
.benefit-list {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-list__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: var(--color-text-main);
}

.icon-check {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Image Wrapper & Decorations */
.image-wrapper {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.image-wrapper__img {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Abstract background blob */
.image-wrapper__blob {
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    height: 90%;
    background: linear-gradient(135deg, #E0E7FF 0%, #F3E8FF 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
    transform: translate(10%, -10%);
}

/* Floating Widget */
.floating-widget {
    position: absolute;
    bottom: 40px;
    left: -20px;
    z-index: 3;
    background: #fff;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float-widget 5s ease-in-out infinite;
    border-left: 4px solid var(--color-accent);
}

.floating-widget__icon {
    width: 40px;
    height: 40px;
    background: #ECFDF5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.floating-widget__info {
    display: flex;
    flex-direction: column;
}

.floating-widget__label {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.floating-widget__value {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-main);
}

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

/* Responsive */
@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .split-layout__content {
        order: 1; /* Text on top */
    }
    
    .split-layout__visual {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }

    .image-wrapper__blob {
        width: 100%;
        height: 100%;
        transform: translate(5%, -5%);
    }
    
    .floating-widget {
        left: 0;
        bottom: 20px;
    }
}

/* --- REVIEWS SECTION --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary);
}

/* Card Header */
.review-card__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.review-card__info {
    flex-grow: 1;
}

.review-card__name {
    font-size: 16px;
    margin-bottom: 2px;
    color: var(--color-text-main);
}

.review-card__location {
    font-size: 13px;
    color: #94A3B8;
    display: block;
}

/* Stars */
.review-card__rating {
    display: flex;
    gap: 2px;
}

.star-filled {
    width: 16px;
    height: 16px;
    fill: #FBBF24; /* Amber/Gold */
    color: #FBBF24;
}

.star-half {
    width: 16px;
    height: 16px;
    fill: none;
    color: #FBBF24;
}

/* Body Text */
.review-card__body {
    position: relative;
    z-index: 2;
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    font-style: italic;
}

/* Decorative Quote Icon */
.review-card__quote-icon {
    position: absolute;
    bottom: 10px;
    right: 20px;
    color: #F1F5F9;
    z-index: 1;
    transform: rotate(180deg);
}

.review-card__quote-icon svg {
    width: 80px;
    height: 80px;
    opacity: 0.5;
}

.review-card:hover .review-card__quote-icon {
    color: #EEF2FF; /* Light Indigo on hover */
}

/* Mobile Fix */
@media (max-width: 576px) {
    .review-card__header {
        flex-wrap: wrap;
    }
    .review-card__rating {
        width: 100%;
        margin-top: 5px;
    }
}

/* --- CONTACT SECTION --- */
.section--contact {
    background: linear-gradient(to bottom, #FFFFFF, #F8FAFC);
    padding-bottom: 120px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Side Info */
.contact-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-features li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: #EEF2FF;
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Right Side Form Card */
.contact-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid #F1F5F9;
    position: relative;
    overflow: hidden;
}

.form__title {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
    color: var(--color-text-main);
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text-main);
}

/* Input Styling */
.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #94A3B8;
    transition: var(--transition);
}

.form__input {
    width: 100%;
    padding: 14px 16px 14px 48px; /* Left padding for icon */
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 16px;
    transition: var(--transition);
    outline: none;
}

.form__input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.form__input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
    color: var(--color-primary);
}

/* Checkbox Styling */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
}

.form__checkbox {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.form__checkbox-label {
    font-size: 13px;
    color: #64748B;
    line-height: 1.5;
    cursor: pointer;
    font-weight: 400;
}

.form__checkbox-label a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Button & Disclaimer */
.btn--full {
    width: 100%;
    margin-top: 10px;
}

.form__disclaimer {
    margin-top: 20px;
    font-size: 13px;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Loader Spinner */
.loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form__submit.loading .btn-text {
    display: none;
}

.form__submit.loading .loader {
    display: block;
}

/* Success Message */
.success-card {
    text-align: center;
    padding: 20px 0;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #ECFDF5;
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 40px;
    height: 40px;
}

.success-title {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.success-text {
    color: #64748B;
    margin-bottom: 20px;
}

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

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .contact-info {
        text-align: center;
    }

    .contact-features {
        align-items: center; /* Center list items */
    }
}

/* --- COOKIE POPUP --- */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px; /* Mobile full width minus margins */
    max-width: 400px; /* Desktop width constraint */
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid #E2E8F0;
    transform: translateY(150%); /* Hidden by default */
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-popup.show {
    transform: translateY(0);
}

.cookie-popup__content {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cookie-popup__icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.cookie-popup__text {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

.cookie-popup__text a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

/* --- TEXT PAGES (Privacy, Terms, etc.) --- */
.pages {
    padding: 120px 0 80px; /* Top padding for fixed header */
}

.pages .container {
    max-width: 800px; /* Narrower container for better readability */
}

.pages h1 {
    font-size: 42px;
    margin-bottom: 24px;
    color: var(--color-text-main);
}

.pages h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.pages p {
    font-size: 16px;
    color: #475569;
    margin-bottom: 16px;
    line-height: 1.8;
}

.pages ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 24px;
    color: #475569;
}

.pages li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.pages a {
    color: var(--color-primary);
    font-weight: 600;
}

.pages a:hover {
    text-decoration: underline;
}

/* Mobile Tweaks for Cookie */
@media (max-width: 576px) {
    .cookie-popup {
        bottom: 10px;
        left: 10px;
        right: 10px;
        width: auto;
    }
}