:root {
    --bg-darker: #06090e;
    --bg-dark: #0a0f18;
    --bg-card: rgba(26, 36, 51, 0.4);
    --bg-card-hover: rgba(26, 36, 51, 0.7);
    --accent: #ff4500;
    --accent-rgb: 255, 69, 0;
    --accent-gradient: linear-gradient(135deg, #ff4500 0%, #ff7600 100%);
    --accent-glow: rgba(255, 69, 0, 0.15);
    --text-white: #ffffff;
    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 69, 0, 0.3);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 80px;
}

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

/* Subtle Background Grid & Glows */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 69, 0, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 118, 0, 0.03) 0%, transparent 40%),
        linear-gradient(rgba(255, 255, 255, 0.004) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.004) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    pointer-events: none;
    z-index: 0;
}

h1, h2, h3, h4 { 
    font-family: 'Montserrat', sans-serif; 
    color: var(--text-white);
    font-weight: 700;
}

/* Typography Helper Classes */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-flex;
    align-items: center;
    background: var(--accent-glow);
    border: 1px solid rgba(255, 69, 0, 0.2);
    color: var(--accent);
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    text-transform: uppercase;
}

/* Scroll Animation States */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.revealed {
    opacity: 1;
    transform: translate(0) !important;
}

/* Navigation */
nav { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    padding: 20px 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: rgba(6, 9, 14, 0.8); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000; 
    border-bottom: 1px solid var(--border); 
    transition: var(--transition);
}

nav.scrolled {
    padding: 15px 5%;
    background: rgba(6, 9, 14, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.logo { 
    font-size: 1.6rem; 
    font-weight: 900; 
    letter-spacing: -1px; 
    text-transform: uppercase; 
    color: var(--text-white);
    text-decoration: none;
}
.logo span { 
    color: var(--accent); 
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a { 
    color: var(--text-light); 
    text-decoration: none; 
    margin-left: 30px; 
    font-weight: 600; 
    font-size: 0.9rem; 
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover { 
    color: var(--text-white); 
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links .btn-nav { 
    border: 1px solid var(--accent); 
    padding: 10px 22px; 
    border-radius: var(--radius-sm); 
    color: var(--text-white);
    font-weight: 700;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0);
}

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

.nav-links .btn-nav:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
    transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition);
    transform-origin: center;
}

/* Hero Section */
.hero { 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    padding: 0 5%; 
    background: linear-gradient(to right, rgba(6, 9, 14, 0.95) 35%, rgba(6, 9, 14, 0.5)), 
                url('https://images.unsplash.com/photo-1540747913346-19e32dc3e97e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover; 
    background-attachment: fixed; 
    position: relative; 
    overflow: hidden;
}

/* Grid graphic in hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, var(--bg-darker) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content { 
    max-width: 850px; 
    z-index: 2; 
}

.hero-content > * {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeUpIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 { 
    font-size: clamp(2.5rem, 6.5vw, 4.8rem); 
    font-weight: 900; 
    line-height: 1.1; 
    margin-bottom: 25px; 
    text-transform: uppercase; 
    letter-spacing: -2px; 
    animation-delay: 0.1s;
}

.hero p { 
    font-size: clamp(1.1rem, 2vw, 1.35rem); 
    color: var(--text-muted); 
    margin-bottom: 40px; 
    max-width: 650px; 
    line-height: 1.6;
    animation-delay: 0.3s;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    animation-delay: 0.5s;
}

.btn-primary { 
    display: inline-flex; 
    align-items: center; 
    background: var(--accent-gradient); 
    color: var(--text-white); 
    padding: 16px 36px; 
    font-weight: 700; 
    text-decoration: none; 
    font-size: 1rem; 
    border-radius: var(--radius-sm); 
    transition: var(--transition); 
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.2);
}

.btn-primary:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.4); 
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--text-light);
    padding: 16px 36px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(255, 69, 0, 0.05);
    color: var(--text-white);
    transform: translateY(-3px);
}

@keyframes fadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section (Split) */
.about-section {
    padding: 120px 5%;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-top: 15px;
    margin-bottom: 25px;
    line-height: 1.15;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.about-features {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feat-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feat-bullet {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
    box-shadow: 0 0 12px var(--accent);
}

.feat-item p {
    margin-bottom: 0;
    font-size: 1.05rem;
}

.about-visual {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 25px 50px rgba(0,0,0,0.45);
    border: 1px solid var(--border);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(15%) contrast(110%);
    transition: var(--transition);
}

.about-visual:hover img {
    transform: scale(1.06);
    filter: grayscale(0%) contrast(115%);
}

.image-glow-ring {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1.5px solid rgba(255, 69, 0, 0.25);
    pointer-events: none;
    border-radius: calc(var(--radius-lg) - 10px);
    transition: var(--transition);
}

.about-visual:hover .image-glow-ring {
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.2);
    transform: scale(0.98);
}

/* Services Section */
.services-section { 
    padding: 120px 5%; 
    background: var(--bg-darker); 
    border-bottom: 1px solid var(--border);
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.services-header h2 { 
    font-size: clamp(2rem, 4vw, 3rem); 
    margin-top: 15px;
}

.services-grid { 
    max-width: 1200px;
    margin: 0 auto;
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 40px; 
}

.service-card { 
    background: var(--bg-card); 
    border: 1px solid var(--border); 
    padding: 40px; 
    border-radius: var(--radius-md); 
    transition: var(--transition); 
    position: relative; 
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::after { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 4px; 
    background: var(--accent-gradient); 
    transform: scaleX(0); 
    transform-origin: left; 
    transition: var(--transition); 
}

.service-card:hover { 
    transform: translateY(-12px); 
    background: var(--bg-card-hover); 
    border-color: var(--border-hover); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 69, 0, 0.05);
}

.service-card:hover::after { 
    transform: scaleX(1); 
}

.card-img-wrapper {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-img-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    filter: grayscale(20%) contrast(105%); 
    transition: var(--transition); 
}

.service-card:hover .card-img-wrapper img { 
    filter: grayscale(0%) contrast(110%);
    transform: scale(1.08);
}

.card-icon-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.service-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: 10px;
    color: var(--accent);
    flex-shrink: 0;
    border: 1px solid rgba(255, 69, 0, 0.15);
}

.service-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 { 
    font-size: 1.4rem; 
    font-weight: 700;
}

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

/* Contact / CTA Section */
.contact-section { 
    padding: 120px 5%; 
    background: var(--bg-dark); 
    position: relative;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 60px 40px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-card h2 { 
    font-size: clamp(2rem, 3.8vw, 2.8rem); 
    margin-top: 15px;
    margin-bottom: 20px; 
    line-height: 1.2;
}

.contact-card p { 
    font-size: 1.1rem; 
    color: var(--text-muted); 
    margin-bottom: 40px; 
    max-width: 600px;
    margin-inline: auto;
}

.info-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    width: 100%;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    border: 1px solid rgba(255, 69, 0, 0.15);
}

.info-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.info-item h4 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3px;
}

.info-item a {
    color: var(--text-white);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--accent);
}

/* Cookie Toast Styles */
.cookie-toast {
    position: fixed;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 600px;
    background: rgba(15, 21, 38, 0.95);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 69, 0, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10000;
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-toast.show {
    bottom: 30px;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-toast-icon {
    color: var(--accent);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.cookie-toast p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
    text-align: left;
}

.cookie-toast p a {
    color: var(--text-white);
    text-decoration: underline;
    transition: var(--transition);
}

.cookie-toast p a:hover {
    color: var(--accent);
}

.btn-cookie-accept {
    background: var(--accent-gradient);
    color: var(--text-white);
    border: none;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.2);
}

.btn-cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 69, 0, 0.35);
}

/* Footer */
footer { 
    background: #04060a; 
    padding: 80px 5% 30px; 
    border-top: 1px solid var(--border); 
    position: relative;
}

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

.footer-grid { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr 1fr; 
    gap: 60px; 
    margin-bottom: 50px; 
}

.footer-logo { 
    font-size: 1.8rem; 
    font-weight: 900; 
    margin-bottom: 20px; 
    font-family: 'Montserrat', sans-serif;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: -1px;
    display: inline-block;
}

.footer-logo span {
    color: var(--accent);
}

.footer-desc {
    color: var(--text-muted);
    max-width: 320px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col h4 { 
    margin-bottom: 25px; 
    color: var(--text-white); 
    font-size: 1.1rem; 
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.5px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-size: 0.95rem;
    display: inline-block;
    transition: var(--transition); 
}

.footer-links a:hover { 
    color: var(--accent); 
    transform: translateX(4px);
}

.copyright-section { 
    text-align: center; 
    padding-top: 30px; 
    border-top: 1px solid var(--border); 
    color: var(--text-muted); 
    font-size: 0.85rem; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.copyright-section a:hover {
    color: var(--accent);
}

/* Document / Legal Pages Specific Styles */
.container { 
    max-width: 900px; 
    margin: 150px auto 100px; 
    padding: 0 20px; 
    position: relative; 
    z-index: 1; 
}

.doc-card { 
    background: var(--bg-card); 
    border: 1px solid var(--border); 
    padding: 50px; 
    border-radius: var(--radius-lg); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
}

.doc-card h1 { 
    font-size: clamp(2rem, 5vw, 3rem); 
    font-weight: 900; 
    margin-bottom: 10px; 
}

.doc-card .last-updated { 
    color: var(--accent); 
    font-weight: 600; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 40px; 
}

.doc-card h2 { 
    font-size: 1.6rem; 
    border-bottom: 1px solid var(--border); 
    padding-bottom: 10px; 
    margin-top: 40px; 
}

.doc-card p { 
    color: var(--text-muted); 
    font-size: 1rem; 
    margin-bottom: 20px; 
    line-height: 1.7; 
}

.doc-card ul { 
    list-style-type: none; 
    margin-bottom: 20px; 
    padding-left: 10px; 
}

.doc-card li { 
    color: var(--text-muted); 
    margin-bottom: 10px; 
    position: relative; 
    padding-left: 20px; 
}

.doc-card li::before { 
    content: '•'; 
    color: var(--accent); 
    position: absolute; 
    left: 0; 
    font-weight: bold; 
}

/* Responsive Styles */
@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 5%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: rgba(6, 9, 14, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transition: var(--transition);
        border-left: 1px solid var(--border);
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    }

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

    .nav-links a {
        margin-left: 0;
        font-size: 1.15rem;
        padding: 10px 0;
    }

    .mobile-menu-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        background-attachment: scroll;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .copyright-section {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .doc-card {
        padding: 30px 20px;
    }
}
