/* IDR Core Design System */
:root {
    --primary: #FF6B00;
    --primary-dark: #cc5600;
    --black: #0A0A0A;
    --black-soft: #121212;
    --white: #FFFFFF;
    --gray: #F5F5F7;
    --gray-dark: #2D2D2D;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --container-width: 1200px;
    --header-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.section-title.centered {
    text-align: center;
}

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

/* Header & Nav */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-img {
    height: 40px;
    filter: brightness(1.2);
}

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

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.8;
}

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

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 4px 0;
    transition: var(--transition);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Buttons */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
}

.btn-nav {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    background: var(--primary);
    color: var(--white);
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--black);
}

.full-width {
    width: 100%;
    display: block;
    text-align: center;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: #AAA;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-mesh {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(255, 107, 0, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(255, 107, 0, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

/* About Section */
.grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #CCC;
    font-size: 1.1rem;
}

.image-box {
    background: var(--black-soft);
    aspect-ratio: 4/3;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cube-accent {
    width: 100px;
    height: 100px;
    background: var(--primary);
    transform: rotate(45deg);
    position: relative;
    box-shadow: 0 0 50px rgba(255, 107, 0, 0.3);
}

/* Service Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.pillar-card {
    background: var(--black-soft);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(255, 107, 0, 0.02);
}

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

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pillar-card p {
    color: #AAA;
}

/* Pipeline */
.pipeline {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    text-align: center;
}

.pipeline-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    opacity: 0.7;
}

.pipeline-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.step span {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step p {
    font-weight: 600;
    font-size: 0.9rem;
}

.step-line {
    height: 2px;
    width: 80px;
    background: var(--glass-border);
}

/* Community Section */
.community-box {
    background: linear-gradient(135deg, var(--black-soft) 0%, #1a1a1a 100%);
    padding: 4rem;
    border-radius: 24px;
    border-left: 6px solid var(--primary);
}

.community-box p {
    font-size: 1.25rem;
    color: #BBB;
    max-width: 800px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    background: var(--black-soft);
    padding: 5rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.contact-email {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 2rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--black);
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
        z-index: 1000;
        padding-top: var(--header-height);
    }

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

    .nav-links a:not(.btn) {
        font-size: 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero {
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .pipeline-steps {
        flex-direction: column;
    }

    .step-line {
        width: 2px;
        height: 40px;
    }

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

    .contact-grid {
        padding: 2rem;
    }
}

/* Specific tweaks for small mobile (iPhone SE, etc) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .container {
        padding: 0 1.5rem;
    }
    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }
    .pipeline {
        padding: 1.5rem;
    }
    .community-box {
        padding: 2rem;
    }
}
