/* ==========================================================================
   CSS Variables & Theming
   ========================================================================== */
:root {
    /* Colors - Digital Marketing Theme */
    --color-primary: #1E3A8A;
    /* Deep Blue */
    --color-primary-light: #3B82F6;
    /* Bright Blue */
    --color-primary-dark: #1e293b;
    --color-accent: #F59E0B;
    /* Amber/Orange */
    --color-accent-hover: #D97706;

    /* Backgrounds */
    --bg-dark: #0F172A;
    /* Slate 900 for Header/Footer */
    --bg-darker: #020617;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --bg-section-alt: #F1F5F9;

    /* Text Colors */
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --text-light: #F8FAFC;
    --text-light-muted: #94A3B8;

    /* Typography */
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.5);

    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color-primary-light);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-primary-light);
    color: var(--text-light);
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.23);
}

.btn-accent {
    background-color: var(--color-accent);
    color: var(--bg-white);
}

.btn-accent:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navigation (Consistent Across All Pages)
   ========================================================================== */
.site-header {
    background-color: var(--bg-dark);
    color: var(--text-light);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.header-scrolled {
    padding: 0.5rem 0;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container .logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    filter: invert(1);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-light-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary-light);
    transition: width var(--transition-normal);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav {
    background-color: var(--color-primary-light);
    color: var(--text-light) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    transition: all var(--transition-fast);
}

/* ==========================================================================
   Hero Section with 3D & Animations
   ========================================================================== */
.hero-section {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: slideRight 1s ease-out forwards;
}

.hero-tagline {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 30px;
    color: var(--color-primary-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--color-primary-light);
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-light-muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* 3D Floating Element */
.hero-visual {
    flex: 1;
    position: relative;
    perspective: 1000px;
    animation: slideLeft 1s ease-out forwards;
}

.visual-card-3d {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.card-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    transform: translateZ(30px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-info h4 {
    font-size: 1.5rem;
    margin: 0;
}

.stat-info p {
    color: var(--text-light-muted);
    margin: 0;
    font-size: 0.9rem;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 100px;
    margin-top: 2rem;
    transform: translateZ(50px);
}

.bar {
    flex: 1;
    background: var(--color-primary-light);
    border-radius: 4px 4px 0 0;
    animation: growUp 1.5s ease-out forwards;
    transform-origin: bottom;
}

.bar:nth-child(1) {
    height: 40%;
    animation-delay: 0.2s;
}

.bar:nth-child(2) {
    height: 60%;
    animation-delay: 0.4s;
}

.bar:nth-child(3) {
    height: 35%;
    animation-delay: 0.6s;
}

.bar:nth-child(4) {
    height: 80%;
    animation-delay: 0.8s;
}

.bar:nth-child(5) {
    height: 100%;
    animation-delay: 1.0s;
    background: var(--color-accent);
    box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   About / Stats Section
   ========================================================================== */
.stats-section {
    padding: 4rem 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid #e2e8f0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--color-primary);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Services Section (Creative Layout)
   ========================================================================== */
.services-section {
    padding: 6rem 0;
    background-color: var(--bg-section-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
}

.service-card:hover {
    transform: translateY(-10px) perspective(1000px) rotateX(2deg);
    box-shadow: var(--shadow-lg);
    border-color: rgba(59, 130, 246, 0.3);
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-primary-light);
    font-size: 1.8rem;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon-wrap {
    background: var(--color-primary-light);
    color: var(--bg-white);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--color-primary-light);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.service-card:hover .service-link::after {
    transform: translateX(5px);
}

/* ==========================================================================
   Interactive Service Calculator
   ========================================================================== */
.calculator-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-section-alt) 100%);
}

.calc-wrapper {
    background: var(--bg-dark);
    border-radius: 24px;
    padding: 4rem;
    color: var(--text-light);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.calc-inputs label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light-muted);
}

.calc-inputs input[type="range"] {
    width: 100%;
    margin-bottom: 2rem;
    appearance: none;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    outline: none;
}

.calc-inputs input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--color-primary-light);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
}

.val-display {
    display: inline-block;
    float: right;
    color: var(--color-accent);
    font-weight: bold;
}

.calc-results {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.result-item {
    margin-bottom: 2rem;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-label {
    font-size: 1.1rem;
    color: var(--text-light-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--bg-white);
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* ==========================================================================
   Industry Tabs
   ========================================================================== */
.industry-section {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.tabs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tabs-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    border: 1px solid #cbd5e1;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn.active {
    background: var(--color-primary);
    color: var(--bg-white);
    border-color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
    width: 100%;
    max-width: 900px;
}

.tab-content.active {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.tab-text {
    flex: 1;
}

.tab-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.tab-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.tab-image {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Interactive Sample Reports
   ========================================================================== */
.reports-section {
    padding: 6rem 0;
    background: var(--bg-section-alt);
}

.report-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.chart-wrapper {
    position: relative;
    height: 250px;
    display: flex;
    align-items: flex-end;
    gap: 2%;
    padding-top: 2rem;
}

.chart-col {
    flex: 1;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: height 1s ease-out;
    height: 0;
    /* JS will fill */
}

.chart-col:hover {
    background: rgba(59, 130, 246, 0.3);
}

.chart-col::after {
    content: attr(data-label);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.chart-val {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--color-primary);
    opacity: 0;
    transition: opacity 0.5s;
}

.chart-col:hover .chart-val {
    opacity: 1;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-section-alt);
    padding: 2.5rem;
    border-radius: 16px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: rgba(59, 130, 246, 0.1);
    font-family: serif;
    line-height: 1;
}

.stars {
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.test-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.client-name {
    font-weight: 700;
    color: var(--color-primary);
}

.client-role {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Contact / CTA Section
   ========================================================================== */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--text-light);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
    text-align: left;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   Live Chat Widget
   ========================================================================== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--color-primary-light);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-fast);
    animation: bounce 2s infinite;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background: var(--color-primary);
    color: white;
    padding: 1rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close {
    cursor: pointer;
    font-size: 1.2rem;
}

.chat-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: var(--bg-section-alt);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-msg {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

.msg-bot {
    background: white;
    align-self: flex-start;
    border-bottom-left-radius: 0;
    box-shadow: var(--shadow-sm);
}

.msg-user {
    background: var(--color-primary-light);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.chat-input {
    display: flex;
    padding: 1rem;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.chat-input input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.9rem;
}

.chat-input button {
    background: none;
    border: none;
    color: var(--color-primary-light);
    font-weight: bold;
    cursor: pointer;
}

/* ==========================================================================
   Footer (Consistent Across All Pages)
   ========================================================================== */
.site-footer {
    background-color: var(--bg-darker);
    color: var(--text-light-muted);
    padding: 4rem 0 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 50px;
    filter: invert(1);
    margin-bottom: 1.5rem;
}

.footer-desc {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: var(--color-primary-light);
    transform: translateY(-3px);
}

.footer-heading {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-list li {
    margin-bottom: 0.75rem;
}

.footer-list a {
    transition: color var(--transition-fast);
}

.footer-list a:hover {
    color: var(--color-primary-light);
    padding-left: 5px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light-muted);
}

/* ==========================================================================
   Legal Pages Specific Styling
   ========================================================================== */
.legal-header {
    padding: 150px 0 50px;
    background: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
}

.legal-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.legal-content {
    padding: 4rem 0 6rem;
    background: var(--bg-white);
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.legal-wrapper h2 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin: 2rem 0 1rem;
}

.legal-wrapper p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.legal-wrapper ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.legal-wrapper li {
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes growUp {
    from {
        height: 0;
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Media Queries (Responsiveness)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        animation: fadeIn 1s ease-out forwards;
    }

    .hero-visual {
        width: 100%;
        animation: fadeIn 1s ease-out forwards;
    }

    .hero-actions {
        justify-content: center;
    }

    .calc-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path var(--transition-normal);
    }

    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tab-content.active {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .chat-window {
        width: calc(100vw - 40px);
        right: -10px;
    }
}