/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    filter: blur(100px);
    z-index: -1;
    opacity: 0.6;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    transform: translate(0, 10%);
}

.hero-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "eurostile-extended", sans-serif;
    font-weight: 900;
    font-style: italic;

    font-size: clamp(2rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: clamp(1px, 0.5vw, 4px);
    text-transform: uppercase;
    color: #a11824;
    text-shadow: 0 0 3vw #a11824;
}

.hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.hero-desc {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .hero-title { 
        font-size: clamp(1.5rem, 6vw, 5.5rem); 
        margin-top: 2rem; 
    }
}
/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* 3D Tilt Card System */
.tilt-card {
    perspective: 1000px;
}

.tilt-card-inner {
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
    will-change: transform;
    position: relative;
}

/* Parallax Layers — each at different Z depth */
.tilt-layer {
    transform-style: preserve-3d;
}

.tilt-layer-back {
    position: absolute;
    inset: 0;
    transform: translateZ(-20px) scale(1.04);
    z-index: 0;
    pointer-events: none;
}

.tilt-glow {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 50% 50%, rgba(161, 24, 36, 0.15), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.tilt-layer-mid {
    transform: translateZ(30px);
    position: relative;
    z-index: 1;
}

.tilt-layer-front {
    transform: translateZ(50px);
    position: relative;
    z-index: 2;
}

.feature-card {
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(161, 24, 36, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

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

/* Call to Action Section */
.cta-box {
    padding: 5rem 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
