/* CSS Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-primary: #0a0f13;
    --bg-card: #131a1f;
    --bg-input: #1a2228;
    --accent-cyan: #89d2dc;
    --accent-purple: #6564db;
    --accent-blue: #0099ff;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-placeholder: #4a5568;
    --gradient: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Staatliches', cursive;
    --max-width: 1200px;
    --edge-padding: 100px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    padding: 0 var(--edge-padding);
}

@media (max-width: 1024px) {
    .container {
        padding: 0 60px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* Navigation - Homepage */
.nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
}

/* Navigation - Inner pages (fixed with background) */
.nav-fixed {
    position: fixed;
    background: rgba(13, 19, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    padding: 0 var(--edge-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav-logo {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-logo:hover {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-cyan);
    opacity: 1;
}

.nav-links a.active {
    color: var(--accent-cyan);
}

/* Mobile Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    transition: transform 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(45deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    min-height: 500px;
    padding: 96px var(--edge-padding) 56px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.05;
    color: #0a0f13;
    max-width: 580px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

/* Description Section */
.description-section {
    background: var(--bg-primary);
    padding: 60px 0 80px;
}

.description-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--text-white);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-outline:hover {
    background: var(--text-white);
    color: var(--bg-primary);
    opacity: 1;
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--bg-primary);
}

.section-card {
    background: var(--bg-card);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

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

/* Services Section */
.services-heading {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
    color: var(--text-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card-content {
    padding: 20px 20px 12px;
}

.service-card-image {
    width: calc(100% - 40px);
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    margin: 0 20px 20px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    color: var(--text-white);
}

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

/* CTA Section */
.cta {
    background: var(--bg-primary);
    padding: 70px 0;
}

.cta-text {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.15;
    color: var(--accent-cyan);
    margin-bottom: 28px;
    max-width: 550px;
}

.cta .btn {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 12px 28px;
    font-size: 0.85rem;
}

.cta .btn:hover {
    background: var(--text-white);
    color: var(--bg-primary);
    border-color: var(--text-white);
}

/* About Page - Simple dark background layout */
.about-page {
    background: var(--bg-primary);
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: calc(100vh - 100px);
}

.about-text-content {
    max-width: 700px;
}

.about-text-content p {
    font-size: 1.05rem;
    color: var(--text-white);
    line-height: 1.7;
    margin-bottom: 24px;
}

.about-label {
    font-weight: 600;
    margin-top: 32px;
}

/* Contact Page - Simple dark background layout */
.contact-page {
    background: var(--bg-primary);
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: calc(100vh - 100px);
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-white);
}

.contact-form-container {
    max-width: 500px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-white);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    background: #2a3439;
    border: none;
    border-radius: 6px;
    color: var(--text-white);
    transition: box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-cyan);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    margin-top: 24px;
}

.btn-submit {
    width: 100%;
    background: #b8b4e8;
    color: #0a0f13;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 6px;
}

.btn-submit:hover {
    background: #c9c6ed;
    opacity: 1;
}

/* Legal Pages */
.legal-hero {
    background: var(--gradient);
    padding: 140px 100px 50px;
    text-align: center;
}

.legal-hero h1 {
    font-size: 2.25rem;
    font-weight: 600;
    color: #0a0f13;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--accent-cyan);
}

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-white);
}

.legal-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--accent-blue);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: var(--text-white);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* Page Header (for inner pages) */
.page-header {
    padding-top: 72px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --edge-padding: 60px;
    }

    .hero {
        min-height: 400px;
        padding-top: 80px;
        padding-bottom: 48px;
    }

    .hero-headline {
        font-size: 2.5rem;
    }

    .services-grid {
        gap: 18px;
    }

    .cta-text {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    :root {
        --edge-padding: 24px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 15, 19, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 280px;
        padding-top: 80px;
        padding-bottom: 36px;
    }

    .hero-headline {
        font-size: 1.75rem;
    }

    .description-section {
        padding: 36px 0 50px;
    }

    .section {
        padding: 50px 0;
    }

    .services-heading {
        font-size: 1.35rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card-image {
        height: 140px;
        margin: 0 16px 16px;
        width: calc(100% - 32px);
    }

    .service-card-content {
        padding: 16px 16px 8px;
    }

    .cta {
        padding: 50px 0;
    }

    .cta-text {
        font-size: 1.35rem;
    }

    .legal-hero h1 {
        font-size: 1.75rem;
    }

    .legal-hero {
        padding: 120px 24px 50px;
    }

    .about-page,
    .contact-page {
        padding-top: 100px;
    }

    .contact-title {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 14px;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --edge-padding: 16px;
    }

    .hero {
        min-height: 220px;
        padding-top: 70px;
        padding-bottom: 30px;
    }

    .hero-headline {
        font-size: 1.5rem;
    }

    .cta-text {
        font-size: 1.25rem;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
}
