/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: oklch(0.1 0 20);
    --bg: oklch(0.15 0 20);
    --bg-light: oklch(0.2 0 20);
    --text: oklch(0.96 0 20);
    --text-muted: oklch(0.76 0 20);
    --highlight: oklch(0.5 0 20);
    --border: oklch(0.4 0 20);
    --border-muted: oklch(0.3 0 20);
    --primary: oklch(0.76 0.1 20);
    --secondary: oklch(0.76 0.1 2);
    --danger: oklch(0.7 0.05 30);
    --warning: oklch(0.7 0.05 100);
    --success: oklch(0.7 0.05 160);
    --info: oklch(0.7 0.05 260);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin: 0 0 1rem;
    color: var(--text);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-light);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

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

.nav-logo img,
.nav-logo svg {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.nav-logo:hover img,
.nav-logo:hover svg {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

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

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74, 144, 226, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'Montserrat', sans-serif;
}

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

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px color-mix(in oklch, var(--primary) 30%, transparent);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: color-mix(in oklch, var(--primary) 10%, transparent);
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 6rem 0;
    background: var(--bg);
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px color-mix(in oklch, var(--bg-dark) 80%, transparent);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: color-mix(in oklch, var(--primary) 20%, transparent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg) 100%);
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text);
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-logo {
    height: 35px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid var(--border);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* ===== PAGE HEADER (About, Services, Contact) ===== */
.page-header {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-light) 100%);
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
    align-items: center;
}

.content-text h2 {
    margin-bottom: 1.5rem;
}

.content-text p {
    margin-bottom: 1.5rem;
}

.content-image {
    width: 100%;
}

.placeholder-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
}

/* ===== VALUES SECTION ===== */
.values-section {
    padding: 6rem 2rem;
    background: var(--bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--text);
}

/* ===== TEAM SECTION ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.member-avatar {
    width: 120px;
    height: 120px;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.team-member h4 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

/* ===== SERVICES PAGE ===== */
.services-list {
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
}

.service-item:last-child {
    border-bottom: none;
}

.service-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    opacity: 1;
}

.service-content h3 {
    margin-bottom: 1rem;
    color: var(--text);
}

.service-content p {
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.service-features li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text);
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ===== INDUSTRIES SECTION ===== */
.industries-section {
    padding: 6rem 2rem;
    background: var(--bg);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.industry-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.industry-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.industry-card h4 {
    margin-bottom: 0.75rem;
    color: var(--text);
}

/* ===== CONTACT PAGE ===== */
.contact-section {
    padding: 6rem 2rem;
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info > p {
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.method-icon {
    width: 48px;
    height: 48px;
    background: color-mix(in oklch, var(--primary) 20%, transparent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-method h4 {
    margin-bottom: 0.25rem;
    color: var(--text);
}

.contact-method p {
    margin: 0;
}

/* ===== CONTACT FORM ===== */
.contact-form-container {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

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

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

.form-group label {
    font-weight: 600;
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    font-family: 'Avenir Next', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary) 20%, transparent);
}

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

.contact-form button {
    align-self: flex-start;
}

/* ===== RESPONSIVE - ADDITIONAL ===== */
@media (max-width: 768px) {
    .page-header {
        padding: 8rem 1rem 3rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-item {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
        padding: 2rem 0;
    }
    
    .service-number {
        font-size: 2rem;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .contact-form button {
        align-self: stretch;
    }
}