:root {
    --web-primary: #94173d;
    --web-primary-dark: #7a1232;
    --web-primary-light: rgba(148, 23, 61, 0.1);
    --web-secondary: #0f172a;
    --web-accent: #f59e0b;
    --web-accent-hover: #d97706;
    --web-bg: #ffffff;
    --web-text: #1e293b;
    --web-text-muted: #64748b;
    --web-light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--web-text);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--web-bg);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Base Buttons */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--web-primary);
    color: white !important;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(148, 23, 61, 0.3);
}

.btn-white {
    background: white;
    color: var(--web-primary) !important;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.btn-accent {
    background: var(--web-secondary);
    color: white !important;
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white !important;
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: white;
    color: var(--web-primary) !important;
    border-color: white;
    transform: translateY(-3px);
}

/* Header & Nav */
header {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

header .container {
    max-width: 1400px;
    width: 95%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--web-primary);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
}

.logo h1 span {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--web-secondary);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--web-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    padding: 0.2rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--web-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--web-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links .btn-portal-small::after {
    display: none;
}

.btn-portal-small {
    background: var(--web-primary);
    color: white !important;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 6px -1px rgba(148, 23, 61, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
}

.btn-portal-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(148, 23, 61, 0.25);
    color: white !important;
    background: #7a1231;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(148, 23, 61, 0.75) 100%), url('https://images.unsplash.com/photo-1523050853064-96f8303ad562?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 5rem;
}

.hero-box {
    max-width: 900px;
    margin: 0 auto;
}

.hero h2 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: clamp(1rem, 4vw, 1.4rem);
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Stats Section */
.stats {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--web-primary) 0%, var(--web-primary-dark) 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Features/Sections */
.sections-list {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--web-secondary);
    font-weight: 800;
}

.section-title p {
    color: var(--web-text-muted);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.section-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.section-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--web-primary-light);
}

.section-card .icon-box {
    width: 60px;
    height: 60px;
    background: var(--web-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.section-card h3 {
    margin: 1.5rem 0 1rem;
    color: var(--web-secondary);
    font-weight: 700;
    font-size: 1.5rem;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: var(--web-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
    padding: 2.5rem;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: var(--web-secondary);
    color: white;
    padding: 60px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}