/* =====================================================
   NOVABRAND DESIGN SYSTEM & GLOBALS
   ===================================================== */
:root {
    --bg: #030712;
    --bg-card: #0b0f19;
    --primary: #a855f7;
    --primary-rgb: 168, 85, 247;
    --secondary: #ec4899;
    --secondary-rgb: 236, 72, 153;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(168, 85, 247, 0.3);
    --font: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* =====================================================
   TYPOGRAPHY & BUTTONS
   ===================================================== */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

span.gradient-text,
h1 span,
h2 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
}

.btn--secondary {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid var(--border);
}

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

.btn--full {
    width: 100%;
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(3, 7, 18, 0.75);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
    text-decoration: none;
}

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

.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-link--btn {
    background-color: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    color: var(--primary);
}

.nav-link--btn:hover {
    background-color: var(--primary);
    color: #fff;
}

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

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg);
        flex-direction: column;
        padding: 2.5rem 0;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
    }
    
    .nav.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 50%), 
                      radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 55%);
    z-index: 1;
}

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

.hero-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
    padding: 8rem 0;
    border-top: 1px solid var(--border);
    position: relative;
}

.services .section-header {
    margin-bottom: 4rem;
}

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

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    border-radius: 12px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.05);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

/* =====================================================
   WORK / CASE STUDIES
   ===================================================== */
.work {
    padding: 8rem 0;
    border-top: 1px solid var(--border);
}

.work .section-header {
    margin-bottom: 4rem;
}

.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .work-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.work-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.work-card:hover {
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.05);
}

.work-image-wrapper {
    height: 240px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #0d0f14;
    border-bottom: 1px solid var(--border);
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform var(--transition);
}

.work-card:hover .work-img {
    transform: scale(1.05);
}

.work-info {
    padding: 2rem;
}

.work-stat {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
    background-color: rgba(236, 72, 153, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.work-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.work-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
    padding: 8rem 0;
    border-top: 1px solid var(--border);
}

.contact-container {
    display: flex;
    justify-content: center;
}

.contact-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 4rem;
    border-radius: 20px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
    .contact-card {
        padding: 2.5rem 1.5rem;
    }
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    color: var(--text-main);
    padding: 1rem;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.04);
}

.form-success {
    text-align: center;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.form-success svg {
    color: var(--primary);
}

.form-success h3 {
    font-size: 1.8rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background-color: #02040a;
    padding: 5rem 0 3rem;
    border-top: 1px solid var(--border);
}

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

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

.footer-left p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    max-width: 350px;
}

.footer-right p {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
}

/* =====================================================
   LANGUAGE SWITCHER
   ===================================================== */
.lang-toggle {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 3px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
}

.lang-btn:hover:not(.active) {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .lang-toggle {
        margin-top: 0.5rem;
        justify-content: center;
    }
}
