* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Imperial Crystal Night Theme */
    --primary: #2D1B57;           /* Imperial Deep Indigo */
    --secondary: #8B5CF6;         /* Violet Purple */
    --accent-gold: #E4C76F;       /* Prestige Gold */
    --accent-silver: #D8D8D8;     /* Platinum Silver */
    --night-graphite: #16161A;    /* Night Graphite */
    --soft-carbon: #222327;       /* Soft Carbon */
    --pearl-white: #F3F3F3;       /* Pearl White */
    --light: #F3F3F3;             /* Text color */
    --dark: #16161A;              /* Dark background */
    --darker: #222327;            /* Darker background */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--night-graphite);
    color: var(--light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #6b46b8 50%, var(--accent-silver) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--accent-silver);
    margin-bottom: 4rem;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1.8;
}

.loading {
    text-align: center;
    padding: 3rem;
    color: var(--accent-silver);
}

.btn-primary, .btn-secondary {
    padding: 14px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #4a2f7e);
    color: var(--pearl-white);
    border-color: transparent;
    box-shadow: 0 6px 24px rgba(45, 27, 87, 0.6), 0 0 20px rgba(45, 27, 87, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #4a2f7e, var(--accent-silver));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(45, 27, 87, 0.8), 0 0 30px rgba(228, 199, 111, 0.2);
    border-color: rgba(228, 199, 111, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-silver);
    border-color: var(--accent-silver);
}

.btn-secondary span {
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--accent-silver);
    color: var(--night-graphite);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(216, 216, 216, 0.3);
}

.features {
    padding: 80px 0;
    background: var(--soft-carbon);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--soft-carbon);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(228, 199, 111, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 16px 16px 0 0;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(228, 199, 111, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    color: var(--pearl-white);
    filter: drop-shadow(0 4px 8px rgba(228, 199, 111, 0.2));
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    transform: scale(1.1);
    color: var(--accent-gold);
    filter: drop-shadow(0 6px 12px rgba(228, 199, 111, 0.4));
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--pearl-white);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.feature-card p {
    color: var(--accent-silver);
    line-height: 1.7;
    font-weight: 300;
}
