/* ------------------------------------------------------------------
   AI CALM UI - CORE VARIABLES
   ------------------------------------------------------------------ */
:root {
    /* Color Palette */
    --bg-color: #F8FAFC;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --primary: #818CF8;
    /* Soft Lavender/Indigo */
    --primary-dark: #6366F1;
    --secondary: #38BDF8;
    /* Sky Blue */
    --accent-purple: #A78BFA;
    --accent-green: #34D399;
    --white: #FFFFFF;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #818CF8 0%, #38BDF8 100%);
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 100%);
    --gradient-text: linear-gradient(to right, #6366F1, #38BDF8);

    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(99, 102, 241, 0.1), 0 10px 10px -5px rgba(99, 102, 241, 0.04);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --backdrop-blur: blur(12px);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;
}

/* ------------------------------------------------------------------
   RESET & TYPOGRAPHY
   ------------------------------------------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.75rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-center {
    text-align: center;
}

/* ------------------------------------------------------------------
   BACKGROUND EFFECTS
   ------------------------------------------------------------------ */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(129, 140, 248, 0.15);
    top: -100px;
    right: -100px;
    animation: pulse-slow 10s infinite alternate;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: rgba(56, 189, 248, 0.15);
    bottom: 0;
    left: -100px;
    animation: float-bg 15s infinite ease-in-out;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* ------------------------------------------------------------------
   LAYOUT UTILITIES
   ------------------------------------------------------------------ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 500;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
}

.btn-secondary:hover {
    color: var(--primary);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.8);
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
}

.full-width {
    width: 100%;
}

.mt-4 {
    margin-top: 2rem;
}

/* ------------------------------------------------------------------
   HEADER & NAVIGATION
   ------------------------------------------------------------------ */
header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: 0.3s background, 0.3s padding;
    display: flex;
    align-items: center;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    height: 40px;
    width: auto;
}

.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
}

.desktop-nav a.active,
.desktop-nav a:hover {
    color: var(--primary);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--primary);
    transition: 0.3s;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 0;
    background: white;
    overflow: hidden;
    transition: 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.mobile-menu.open {
    height: auto;
    padding-bottom: 20px;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-menu-content a {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ------------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------------ */
.hero-section {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(129, 140, 248, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: blink 2s infinite;
}

.hero-sub {
    font-size: 1.15rem;
    max-width: 500px;
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.trust-metrics {
    display: flex;
    gap: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-item strong {
    font-size: 1.5rem;
    color: var(--text-main);
}

.metric-item span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero Visuals (Cards) */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-visual .glass-card {
    width: 320px;
    height: 400px;
    z-index: 2;
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
}

.circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #FECACA;
}

.yellow {
    background: #FDE68A;
}

.green {
    background: #A7F3D0;
}

.chart-area {
    height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.bar {
    width: 30px;
    background: #E2E8F0;
    border-radius: 4px 4px 0 0;
    transition: height 1s;
}

.bar.active {
    background: var(--gradient-primary);
    box-shadow: 0 4px 10px rgba(129, 140, 248, 0.4);
}

.card-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.positive {
    color: var(--accent-green);
}

.small-card {
    position: absolute;
    bottom: 50px;
    left: -40px;
    width: 220px;
    height: 80px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
    padding: 15px;
}

.accent-icon {
    font-size: 24px;
    color: var(--secondary);
    background: rgba(56, 189, 248, 0.1);
    padding: 10px;
    border-radius: 12px;
}

.text-content {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

/* ------------------------------------------------------------------
   MARQUEE SECTION
   ------------------------------------------------------------------ */
.partners-section {
    background: white;
    padding: 40px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.section-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.2rem;
}

.marquee-content span {
    margin: 0 30px;
}

/* ------------------------------------------------------------------
   SERVICES SECTION
   ------------------------------------------------------------------ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.icon-bubble {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: rgba(129, 140, 248, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.icon-bubble.purple {
    color: var(--accent-purple);
    background: rgba(167, 139, 250, 0.1);
}

.icon-bubble.blue {
    color: var(--secondary);
    background: rgba(56, 189, 248, 0.1);
}

.icon-bubble.green {
    color: var(--accent-green);
    background: rgba(52, 211, 153, 0.1);
}

.feature-list {
    margin-top: 20px;
}

.feature-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.feature-list i {
    color: var(--accent-green);
    margin-right: 10px;
}

/* ------------------------------------------------------------------
   ANALYTICS SECTION
   ------------------------------------------------------------------ */
.analytics-section {
    background: white;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.feature-row {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.f-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.dashboard-mockup {
    background: #1E293B;
    /* Dark mode dashboard */
    color: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.dash-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
}

.dash-card.full-width-graph {
    grid-column: span 2;
    height: 120px;
}

.value {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 5px 0;
}

.trend {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.trend.up {
    color: var(--accent-green);
}

.fake-graph {
    height: 60px;
    margin-top: 15px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.graph-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.2) 100%);
    clip-path: polygon(0 100%, 0 80%, 20% 60%, 40% 70%, 60% 30%, 80% 40%, 100% 10%, 100% 100%);
}

/* ------------------------------------------------------------------
   INDUSTRY SCROLL
   ------------------------------------------------------------------ */
.industries-section {
    overflow: hidden;
}

.industry-scroll {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.industry-scroll::-webkit-scrollbar {
    display: none;
}

.industry-card {
    flex: 0 0 250px;
    background: white;
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #eee;
    scroll-snap-align: start;
    transition: 0.3s;
}

.industry-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.industry-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

/* ------------------------------------------------------------------
   CALCULATOR
   ------------------------------------------------------------------ */
.calculator-section {
    background-image: var(--gradient-primary);
    padding: 100px 0;
}

.calc-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.calc-content {
    padding: 40px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

input[type="range"] {
    width: 100%;
    accent-color: var(--primary);
}

select {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid #ddd;
    font-family: inherit;
}

.calc-result {
    background: #1E293B;
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.result-box {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

.result-box.highlight {
    background: var(--primary);
}

.res-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
}

.note {
    opacity: 0.7;
    font-size: 0.8rem;
}

/* ------------------------------------------------------------------
   TESTIMONIALS
   ------------------------------------------------------------------ */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.quote-icon {
    font-size: 1.5rem;
    color: #e2e8f0;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-main);
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.avatar {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.reviewer h5 {
    margin: 0;
    font-size: 1rem;
}

.reviewer span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ------------------------------------------------------------------
   CTA SECTION
   ------------------------------------------------------------------ */
.cta-section {
    padding-bottom: 0;
}

.cta-box {
    background: var(--text-main);
    color: white;
    padding: 80px 20px;
    border-radius: var(--radius-lg);
    background-image: 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='%23334155' fill-opacity='0.4'%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 {
    color: white;
    margin-bottom: 15px;
}

.cta-box p {
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------ */
footer {
    background: var(--bg-color);
    padding-top: 80px;
    border-top: 1px solid #e2e8f0;
    margin-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: 0.3s;
}

.social-icons a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ------------------------------------------------------------------
   LEGAL & CONTACT PAGE STYLES
   ------------------------------------------------------------------ */
.page-main {
    padding-top: calc(var(--header-height) + 40px);
    min-height: 80vh;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-content {
    background: white;
    padding: 60px;
    border-radius: var(--radius-lg);
    border: 1px solid #eee;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    color: var(--text-main);
}

.legal-content p,
.legal-content ul {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.legal-content ul {
    padding-left: 20px;
    list-style: disc;
}

/* Contact Page Specifics */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info {
    background: var(--primary);
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-info h3 {
    color: white;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.styled-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    transition: 0.3s;
    background: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.1);
}

/* ------------------------------------------------------------------
   ANIMATIONS
   ------------------------------------------------------------------ */
@keyframes float-animation-1 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-animation-2 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.float-animation-1 {
    animation: float-animation-1 6s ease-in-out infinite;
}

.float-animation-2 {
    animation: float-animation-2 5s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes pulse-slow {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

@keyframes float-bg {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.fade-in-delayed {
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------------------------------------------------------
   MEDIA QUERIES
   ------------------------------------------------------------------ */
@media (max-width: 992px) {

    .hero-grid,
    .split-layout,
    .calc-wrapper,
    .footer-top,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 60px;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-sub {
        margin: 0 auto 30px auto;
    }

    .trust-metrics {
        justify-content: center;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-visual {
        height: 400px;
    }

    .glass-card {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .legal-content {
        padding: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
}