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

:root {
    /* --- Light Theme (User Provided) --- */
    --bg-body: #FFFFFF;
    /* Background */
    --bg-nav: rgba(255, 255, 255, 0.8);
    --bg-card: #FAFAFA;
    /* Card Surface */
    --bg-hover: #F1F5F9;
    /* Secondary */

    --text-primary: #0F172A;
    /* Foreground */
    --text-secondary: #64748B;
    /* Muted Text */
    --text-muted: #94A3B8;

    --border-color: #E2E8F0;
    /* Border */

    --accent-color: #05ADC5;
    /* Primary */
    --accent-hover: #048a9d;
    /* Darker Primary */

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);

    --radius: 12px;
    --font-main: 'Inter', sans-serif;

    /* Hero Theme Variables */
    --hero-overlay-start: rgba(255, 255, 255, 0.85);
    --hero-overlay-end: rgba(255, 255, 255, 0.95);
    --hero-text-color: #0F172A;
    --hero-subtext-color: #64748B;
}

[data-theme="dark"] {
    /* --- Dark Theme (User Provided) --- */
    --bg-body: #080E17;
    /* Background */
    --bg-nav: rgba(8, 14, 23, 0.9);
    --bg-card: #101C2D;
    /* Secondary */
    --bg-hover: #1B2232;
    /* Muted */

    --text-primary: #F8FAFC;
    /* Foreground */
    --text-secondary: #838F9E;
    /* Muted FG */
    --text-muted: #586578;

    --border-color: #20293C;
    /* Border */

    --accent-color: #05ADC5;
    /* Primary */
    --accent-hover: #05b5bd;

    --shadow-sm: none;
    --shadow: none;
    --shadow-lg: none;

    /* Hero Theme Variables */
    --hero-overlay-start: rgba(8, 14, 23, 0.85);
    --hero-overlay-end: rgba(8, 14, 23, 0.95);
    --hero-text-color: #ffffff;
    --hero-subtext-color: rgba(255, 255, 255, 0.7);
}

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

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

/* --- Navbar --- */
/* Navbar styles moved to partial.css */

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(44, 126, 179, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(44, 126, 179, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--bg-hover);
    border-color: var(--text-secondary);
}

/* --- Hero Section --- */
.hero {
    padding: 220px 0 160px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-body);
    /* Background Image with Overlay */
    background-image: linear-gradient(to bottom, var(--hero-overlay-start), var(--hero-overlay-end)),
        url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Grid Pattern Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 90%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 90%);
    pointer-events: none;
}

/* Floating Glow Effect */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(5, 173, 197, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    animation: pulseGlow 8s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }

    100% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.2);
    }
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    /* Increased width */
}

.hero h1 {
    font-size: 5.5rem;
    /* Larger title */
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    color: var(--hero-text-color);
}

.text-gradient {
    background: linear-gradient(135deg, #05ADC5, #F5A50A);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    color: var(--hero-subtext-color);
    font-size: 1.5rem;
    /* Larger text */
    max-width: 900px;
    /* Wider text block */
    margin: 0 auto 48px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero .btn {
    padding: 16px 32px;
    /* Larger buttons */
    font-size: 1.1rem;
}

.hero .btn-secondary {
    border-color: var(--hero-text-color);
    color: var(--hero-text-color);
    background: transparent;
    backdrop-filter: blur(10px);
    opacity: 0.8;
}

.hero .btn-secondary:hover {
    background-color: var(--hero-text-color);
    color: var(--bg-body);
    opacity: 1;
}

/* --- Features Section --- */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 32px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-color);
    background-color: var(--bg-hover);
    font-size: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-box {
    background-color: var(--accent-color);
    color: #ffffff;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* --- Efficiency Section --- */
.efficiency {
    padding: 100px 0;
    background: var(--bg-hover);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.efficiency-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.efficiency-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.efficiency-text p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 32px;
    line-height: 1.7;
}

.check-list {
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: 500;
}

.check-list li i {
    color: var(--accent-hover);
    /* Teal Green */
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-number {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

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

.stat-alert {
    margin-top: 20px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

/* --- CTA Section --- */
.cta-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
    /* Parallax Background */
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&q=80');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    /* Darker overlay */
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
    /* White text */
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: 40px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .efficiency-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    .stat-card {
        margin: 0 auto;
    }
}

/* --- Footer --- */
footer {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 60px 0;
    margin-top: auto;
}

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

.footer-content .logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-content .logo i {
    color: var(--accent-color);
}

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

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

.stat-alert {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Uses Teal Green for the alert background with opacity */
    background-color: rgba(30, 155, 134, 0.1);
    color: var(--teal-green);
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid rgba(30, 155, 134, 0.2);
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    margin-top: auto;
    background-color: var(--bg-body);
}

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

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .efficiency-container {
        grid-template-columns: 1fr;
    }

    .stat-card {
        margin-left: 0;
        max-width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

/* --- Navbar Links & Mobile --- */
/* Styles moved to partial.css to fix conflict */

/* Mobile nav styles removed - moved to partial.css */

/* --- Inner Page Styles (About, Contact) --- */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: radial-gradient(circle at top center, var(--bg-hover), var(--bg-body));
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Content Sections */
.content-section,
.team-section,
.contact-section {
    padding: 100px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.mission-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.content-image img {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

.content-image:hover img {
    transform: rotate(0deg);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.team-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    border: 4px solid var(--bg-body);
    box-shadow: var(--shadow);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.team-card p {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-info>p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.info-item {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(5, 173, 197, 0.1);
    color: var(--accent-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item:hover i {
    background: var(--accent-color);
    color: #fff;
    transform: scale(1.1);
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.info-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form-card {
    background: var(--bg-card);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 24px;
}

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

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-body);
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(5, 173, 197, 0.1);
}

@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .page-header {
        padding: 140px 0 60px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

/* === ANIMATIONS & MODERN ICONS === */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-fade-in {
    animation: fadeInScale 0.4s ease-out forwards;
}

.icon-modern {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.icon-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: inherit;
}

.icon-modern:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.2);
}

.icon-modern:hover::after {
    opacity: 1;
}

.icon-pulse {
    animation: float 3s ease-in-out infinite;
}

.dashboard-card-item:hover .icon-box-lg {
    transform: scale(1.1) rotate(5deg);
}

.list-item:hover .icon-box {
    transform: scale(1.1);
    background: var(--bg-hover);
}

.icon-box,
.icon-box-lg {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === NEW HERO STYLES === */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(5, 173, 197, 0.1);
    border: 1px solid rgba(5, 173, 197, 0.2);
    border-radius: 100px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.badge-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

/* Hero Preview (CSS Dashboard) */
.hero-preview {
    margin-top: 80px;
    position: relative;
    perspective: 1000px;
}

.preview-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: rotateX(5deg);
    transition: transform 0.5s ease;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-preview:hover .preview-card {
    transform: rotateX(0deg) scale(1.02);
}

.preview-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--bg-hover);
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
}

.dots span:nth-child(1) {
    background: #ef4444;
}

.dots span:nth-child(2) {
    background: #f59e0b;
}

.dots span:nth-child(3) {
    background: #10b981;
}

.bar {
    height: 8px;
    width: 200px;
    background: var(--border-color);
    border-radius: 4px;
    opacity: 0.5;
}

.preview-body {
    display: flex;
    height: 500px;
}

.preview-sidebar {
    width: 200px;
    border-right: 1px solid var(--border-color);
    background: var(--bg-body);
}

.preview-content {
    flex: 1;
    padding: 32px;
    background: var(--bg-card);
}

.preview-row {
    height: 40px;
    width: 60%;
    background: var(--bg-hover);
    border-radius: 8px;
    margin-bottom: 32px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.p-card {
    height: 120px;
    background: var(--bg-hover);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.preview-chart {
    height: 200px;
    background: linear-gradient(180deg, rgba(5, 173, 197, 0.1) 0%, transparent 100%);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
}

.preview-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(5, 173, 197, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

/* Section Tags */
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    margin-bottom: 16px;
}

/* Card Glow */
.feature-card {
    position: relative;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(5, 173, 197, 0.1), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover .card-glow {
    opacity: 1;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-hover);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .preview-body {
        height: 300px;
    }

    .preview-sidebar {
        display: none;
    }
}


/* Hero Image Replacement */
.hero-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotateX(5deg);
    transition: transform 0.5s ease;
    display: block;
    background-color: var(--bg-card);
    /* Fallback */
}

.hero-preview:hover .hero-image {
    transform: rotateX(0deg) scale(1.02);
}