:root {
    /* AppTheme Colors - Using HSL for better manipulation */
    --primary-hue: 358;
    --primary-sat: 65%;
    --primary-light: 51%;

    --primary-red: hsl(var(--primary-hue), var(--primary-sat), var(--primary-light));
    --primary-red-hover: hsl(var(--primary-hue), var(--primary-sat), 40%);
    --primary-red-glow: hsla(var(--primary-hue), var(--primary-sat), var(--primary-light), 0.5);

    --bg-color: #050505;
    --surface-color: #0a0a0a;
    --card-bg: rgba(30, 30, 30, 0.4);
    --card-border: rgba(255, 255, 255, 0.08);

    --text-primary: #FFFFFF;
    --text-secondary: #A0A0A0;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 16px;

    /* Animations */
    --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    /* Subtle background texture */
    background-image:
        radial-gradient(circle at 15% 50%, rgba(211, 47, 47, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(211, 47, 47, 0.05) 0%, transparent 25%);
    background-attachment: fixed;
}

/* Typography Enhancements */
h1,
h2,
h3,
h4 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.t-gradient {
    background: linear-gradient(135deg, #FF5252 0%, #D32F2F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    max-width: 65ch;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 120px 0;
    position: relative;
}

/* Header & Glassmorphism */
header {
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo img {
    height: 40px;
    filter: drop-shadow(0 0 8px rgba(211, 47, 47, 0.3));
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: white;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, #B71C1C 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(211, 47, 47, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(211, 47, 47, 0.4);
    filter: brightness(110%);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

/* Animated background glow */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.12) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulseGlow 8s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: -1;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
    color: #CCCCCC;
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
    cursor: pointer;
    font-size: 1.5rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* Cards & Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 48px 36px;
    transition: all 0.4s var(--ease-out-quart);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(211, 47, 47, 0.4);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Inner glow effect */
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.03), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.card:hover::after {
    opacity: 1;
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 24px;
    background: rgba(211, 47, 47, 0.1);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(211, 47, 47, 0.2);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 16px;
    display: inline-block;
}

/* List Styling */
.feature-list {
    list-style: none;
    margin-top: 24px;
}

.feature-list li {
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
    color: #D0D0D0;
}

.feature-list li::before {
    content: '\f00c';
    /* FontAwesome Check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary-red);
    font-size: 0.9em;
}

/* Split Section */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 20px;
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-quart), transform 0.8s var(--ease-out-quart);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Footer */
footer {
    background: #000;
    padding: 100px 0 40px;
    border-top: 1px solid var(--card-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    margin-bottom: 16px;
    display: block;
}

.footer h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid var(--card-border);
    font-size: 0.9rem;
    color: #444;
}

/* Responsive */
@media (max-width: 968px) {
    h1 {
        font-size: 3.5rem;
    }

    .split-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-content {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    /* Mobile Menu todo */
    .card {
        padding: 32px 24px;
    }
}

/* Modal Styles Reuse/Enhance */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 2000;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #151515;
    width: 90%;
    max-width: 600px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s;
    overflow: hidden;
}

.modal-backdrop.active .modal-content {
    transform: scale(1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modal-body {
    padding: 32px;
    text-align: center;
}

.modal-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.modal-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 8px;
}

/* Utility */
.t-center {
    text-align: center;
}