html, body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #0b0f19;
    color: #e2e8f0;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #0284c7;
    --primary-hover: #0369a1;
    --accent-color: #38bdf8;
    --accent-purple: #818cf8;
    --bg-dark: #0b0f19;
    --bg-card: #111827;
    --bg-card-hover: #1e293b;
    --border-color: rgba(255, 255, 255, 0.08);
}

a {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 5rem 0 4rem 0;
    overflow: hidden;
    background: radial-gradient(circle at 50% 10%, rgba(56, 189, 248, 0.15), transparent 60%);
}

.hero-glow-badge {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: #94a3b8;
    max-width: 780px;
}

/* Download Buttons */
.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem 1.6rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.25s ease-in-out;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-store-apple {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #ffffff;
}

.btn-store-apple:hover {
    background: #e2e8f0;
    color: #020617;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-store-microsoft {
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
    color: #ffffff;
    border: 1px solid #0078d4;
}

.btn-store-microsoft:hover {
    background: linear-gradient(135deg, #106ebe 0%, #004578 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 120, 212, 0.35);
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.store-btn-subtitle {
    font-size: 0.72rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.store-btn-title {
    font-size: 1.05rem;
    font-weight: 700;
}

/* Glass cards and feature cards */
.glass-card {
    background: rgba(17, 24, 39, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.glass-card:hover {
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
}

.card-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    margin-bottom: 1.25rem;
}

/* Highlight / Banner cards */
.idrive-banner {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.idrive-banner::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

/* Comparison Table */
.comparison-table-wrapper {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    overflow: hidden;
}

.comparison-table th {
    background-color: #1a2234;
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.08);
    padding: 1rem 1.25rem;
}

.comparison-table td {
    background-color: #111827;
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.06);
    padding: 1rem 1.25rem;
    vertical-align: middle;
}

.table-highlight-col {
    background-color: rgba(56, 189, 248, 0.08) !important;
    border-left: 2px solid #38bdf8 !important;
    border-right: 2px solid #38bdf8 !important;
}

/* UI Preview Mockup */
.mockup-window {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.mockup-header {
    background: #1e293b;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.mockup-dot-red { background: #ef4444; }
.mockup-dot-yellow { background: #f59e0b; }
.mockup-dot-green { background: #10b981; }

.mockup-body {
    padding: 1.5rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.mockup-sidebar {
    background: rgba(15, 23, 42, 0.6);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem;
}

.mockup-file-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 4px;
    background: rgba(255, 255, 255, 0.02);
}

.mockup-file-row:hover, .mockup-file-row.active {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
}

/* Accordion Styling */
.accordion-item {
    background-color: #111827;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.75rem;
    border-radius: 0.75rem !important;
    overflow: hidden;
}

.accordion-button {
    background-color: #111827;
    color: #f8fafc;
    font-weight: 600;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: #1e293b;
    color: #38bdf8;
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    color: #94a3b8;
    background-color: #111827;
}

.badge-e2 {
    background: #38bdf8;
    color: #082f49;
    font-weight: 700;
}

.xbox-banner {
    background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.15), transparent 50%),
                linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 1.5rem;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.xbox-badge {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.text-xbox {
    color: #107c10;
}

.xbox-glow-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
}

/* Utility */
.section-padding {
    padding: 5rem 0;
}

.text-subtle {
    color: #94a3b8;
}

/* Page Header */
.page-header {
    padding: 4.5rem 0 3rem 0;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.12), transparent 70%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Testimonial Cards & Avatars */
.testimonial-card {
    background: rgba(17, 24, 39, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.avatar-gradient-1 { background: linear-gradient(135deg, #0284c7, #38bdf8); }
.avatar-gradient-2 { background: linear-gradient(135deg, #7c3aed, #c084fc); }
.avatar-gradient-3 { background: linear-gradient(135deg, #059669, #34d399); }
.avatar-gradient-4 { background: linear-gradient(135deg, #d97706, #fbbf24); }
.avatar-gradient-5 { background: linear-gradient(135deg, #dc2626, #f87171); }
.avatar-gradient-6 { background: linear-gradient(135deg, #2563eb, #60a5fa); }

.star-rating {
    color: #f59e0b;
    letter-spacing: 2px;
}

/* Case Study Cards & Banners */
.case-study-hero {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.25s ease;
}

.case-study-hero:hover {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.metric-pill {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    text-align: center;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #38bdf8;
    line-height: 1.2;
}

.metric-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Contact Form Elements */
.contact-input {
    background-color: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #f8fafc !important;
    border-radius: 0.6rem !important;
    padding: 0.75rem 1rem !important;
}

.contact-input:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 0.25rem rgba(56, 189, 248, 0.25) !important;
}

.contact-input::placeholder {
    color: #64748b !important;
}

/* Badge tags */
.tag-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 0.78rem;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
}

/* Visual Illustration Banners */
.illustration-banner {
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.06), rgba(99, 102, 241, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
}

/* Store Screenshot Gallery */
.screenshot-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.screenshot-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.15);
}

.screenshot-img-wrapper {
    position: relative;
    background: #020617;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.screenshot-card:hover .screenshot-img {
    transform: scale(1.02);
}

.screenshot-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    backdrop-filter: blur(8px);
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* X / Community Card */
.x-community-card {
    background: radial-gradient(circle at 80% 20%, rgba(29, 155, 240, 0.15), rgba(15, 23, 42, 0.95) 70%);
    border: 1px solid rgba(29, 155, 240, 0.3);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.x-logo-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #000000;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 24px rgba(29, 155, 240, 0.4);
}

.btn-x-follow {
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    border-radius: 9999px;
    padding: 0.75rem 1.75rem;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-x-follow:hover {
    background: #e2e8f0;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
}