:root {
    /* Sleek Modern Dark Palette */
    --primary-color: #e34c38;
    --primary-hover: #f05d49;
    --secondary-color: #e5b869;
    --bg-color: #09090b;
    --card-bg: rgba(18, 18, 22, 0.65);
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow-color: rgba(227, 76, 56, 0.25);
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark mode overrides */
.dark {
    --bg-color: #09090b;
    --card-bg: rgba(18, 18, 22, 0.65);
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Prompt', 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-family: 'Inter', sans-serif;
}

.logo-highlight {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50px;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(227, 76, 56, 0.3);
}

.nav-btn::after {
    display: none;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 76, 56, 0.5);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: var(--transition);
}

/* =====================================================
   HERO SECTION (Sleek Paper-Shader Style)
===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 7rem 2rem 5rem;
    overflow: hidden;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(ellipse 90% 60% at 50% -15%, rgba(227, 76, 56, 0.28), transparent 70%),
        radial-gradient(ellipse 70% 50% at 50% 50%, rgba(229, 184, 105, 0.12), transparent 75%),
        radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.03), transparent 60%);
}

/* Authentic Paper Shader / Fine Film Grain Texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paperNoise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paperNoise)' opacity='0.08'/%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.65;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

/* Subtle Modern Grid Background with Radial Mask */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 20%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 20%, transparent 85%);
    pointer-events: none;
    z-index: 1;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    animation: float 14s infinite ease-in-out alternate;
}

.shape-1 {
    width: 550px;
    height: 550px;
    background: rgba(227, 76, 56, 0.18);
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
}

.shape-2 {
    width: 450px;
    height: 450px;
    background: rgba(229, 184, 105, 0.14);
    bottom: -50px;
    right: 15%;
    animation-delay: -6s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 20px) scale(1.08); }
}

.hero-content {
    max-width: 880px;
    text-align: center;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Sleek Pill Badge */
.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 0.84rem;
    font-weight: 500;
    color: #e4e4e7;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.hero-badge-pill:hover {
    border-color: rgba(229, 184, 105, 0.4);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.75); }
}

.hero-title {
    font-size: clamp(2.6rem, 6.2vw, 4.8rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    margin-bottom: 1.5rem;
    color: #fafafa;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 15%, #f4d38c 55%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.18rem);
    color: var(--text-muted);
    margin-bottom: 2.75rem;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Modern Sleek Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.82rem 1.9rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    outline: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: #f4f4f5;
    color: #09090b;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.18), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.3), 0 6px 16px rgba(0, 0, 0, 0.4);
    color: #000000;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: #e4e4e7;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Sections */
.section {
    padding: 6rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(216, 175, 86, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(26, 22, 20, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        border-left: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-title {
        font-size: 3rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
}
