:root {
    --black: #000000;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-900: #171717;
    --blue: #0066ff;
    --blue-light: #3385ff;
    --blue-dark: #0052cc;
    --navy: #0f1729;
    --success: #10b981;
    --error: #ef4444;
}

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

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: 'DM Sans', -apple-system, system-ui, sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 0;
}

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

/* ============================================
   HEADER
   ============================================ */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--navy);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(15, 23, 41, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    gap: 2rem;
}

.logo {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.8;
}

.logo-accent {
    width: 6px;
    height: 6px;
    background: var(--blue-light);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.8; }
}

/* ============================================
   NAVIGATION
   ============================================ */

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-light);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
}

.nav-cta:hover {
    background: var(--blue-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(51, 133, 255, 0.4);
}

/* ============================================
   MOBILE MENU TOGGLE
   ============================================ */

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 10rem 0 8rem;
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top left, rgba(0, 102, 255, 0.15), transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(51, 133, 255, 0.1), transparent 50%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 102, 255, 0.15);
    color: var(--blue-light);
    border: 1px solid rgba(51, 133, 255, 0.3);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
}

.hero-badge::before {
    content: '✨';
    font-size: 1rem;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-highlight {
    color: var(--blue-light);
    display: inline-block;
    position: relative;
}

.hero-description {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    outline: none;
}

.btn:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(51, 133, 255, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 3rem 0 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 800px;
}

.stat {
    text-align: left;
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--blue-light);
    line-height: 1;
    margin-bottom: 0.75rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-weight: 500;
}

/* Floating elements animation */
.floating-element {
    position: absolute;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.floating-element:nth-child(1) {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    bottom: 20%;
    right: 15%;
    animation-delay: 5s;
}

.floating-element:nth-child(3) {
    top: 50%;
    right: 5%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-40px) rotate(-5deg); }
    75% { transform: translateY(-20px) rotate(3deg); }
}

/* ============================================
   PROCESS SECTION
   ============================================ */

.process {
    padding: 5rem 0;
    background: var(--white);
}

.section-header {
    margin-bottom: 3rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.4);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
}

.section-description {
    font-size: 1.125rem;
    color: rgba(0, 0, 0, 0.65);
    max-width: 700px;
    margin-top: 1rem;
    line-height: 1.6;
}

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

.step {
    padding: 2rem 1.5rem;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.step:hover {
    background: var(--gray-50);
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.step-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.step-duration {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 0.75rem;
}

.step-description {
    font-size: 0.9375rem;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.6;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects {
    padding: 5rem 0;
    background: var(--gray-50);
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.project {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.project:hover {
    transform: translateY(-6px);
    border-color: var(--blue);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.project-inner {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
}

.project-visual {
    position: relative;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    min-height: 420px;
}

.project-number {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    width: 48px;
    height: 48px;
    background: var(--blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
    z-index: 2;
}

.project-icon {
    font-size: 6rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

/* Project Image Styling */
.project-image {
    max-width: 95%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.project-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.project-header {
    margin-bottom: 1.5rem;
}

.project-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.project-tagline {
    font-size: 1.0625rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    font-weight: 400;
}

.project-description {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Project Metrics */
.project-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.metric-item {
    text-align: center;
}

.metric-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue);
    display: block;
    margin-bottom: 0.375rem;
    line-height: 1;
}

.metric-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
}

/* Project Features */
.project-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gray-50);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.feature-content p {
    font-size: 0.9375rem;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.6;
}

/* Project Comparison */
.project-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.comparison-item {
    padding: 1.25rem;
    background: var(--gray-50);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    transition: all 0.3s;
}

.comparison-label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
}

.comparison-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
}

.comparison-item.highlight {
    background: rgba(0, 102, 255, 0.05);
    border-color: var(--blue);
}

.comparison-item.highlight .comparison-value {
    color: var(--blue);
}

/* Project Tags */
.project-tags {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.project-tag {
    padding: 0.5rem 1rem;
    background: var(--gray-50);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.7);
    transition: all 0.2s;
}

.project-tag:hover {
    background: rgba(0, 102, 255, 0.05);
    border-color: var(--blue);
    color: var(--blue);
}

/* Project Link Styling */
.project-link {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.btn-project {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.btn-project:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(51, 133, 255, 0.4);
}

.btn-project:active {
    transform: translateY(0);
}

/* ============================================
   METRICS SECTION
   ============================================ */

.metrics {
    padding: 5rem 0;
    background: var(--white);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.metric {
    padding: 2.5rem 2rem;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.metric:hover {
    background: var(--gray-50);
    border-color: var(--blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.metric-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    line-height: 1;
}

.metric-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--black);
    letter-spacing: -0.01em;
}

.metric-description {
    font-size: 0.9375rem;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.metric-features {
    list-style: none;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.metric-features li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0.625rem;
    line-height: 1.5;
}

.metric-features li:last-child {
    margin-bottom: 0;
}

.metric-features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.625rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact {
    padding: 5rem 0;
    background: var(--gray-50);
}

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

.contact-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.125rem;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.6;
}

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

.form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

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

label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

label .required {
    color: var(--blue);
}

input, textarea, select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background: var(--white);
    transition: all 0.2s;
    outline: none;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

input.error, textarea.error, select.error {
    border-color: var(--error);
}

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

.error-message {
    font-size: 0.875rem;
    color: var(--error);
    margin-top: 0.5rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-submit {
    margin-top: 2rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    justify-content: center;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.success-message {
    display: none;
    padding: 1rem;
    background: var(--success);
    color: var(--white);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-top: 1rem;
}

.success-message.show {
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand h3::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
}

.footer-brand p {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 360px;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.4);
    margin-bottom: 1rem;
}

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

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--blue);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.5);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .container, .header-container {
        padding: 0 1.25rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .project-inner {
        grid-template-columns: 320px 1fr;
    }
    .project-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    .project-visual {
        min-height: 350px;
        padding: 1.5rem;
    }
    .project-image {
        max-height: 320px;
    }
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: flex;
    }
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 41, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        gap: 0;
        padding: 1.5rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    nav.active {
        max-height: 400px;
        opacity: 1;
        padding: 2rem 1.5rem;
    }
    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
        align-items: flex-start;
    }
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-links li:last-child {
        border-bottom: none;
    }
    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
    }
    .nav-links a::after {
        display: none;
    }
    .nav-cta {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        margin-top: 1rem;
    }
    .hero {
        padding: 8rem 0 5rem;
    }
    .hero-cta-group {
        flex-direction: column;
    }
    .btn, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .stat-value {
        font-size: 2.5rem;
    }
    .projects, .process, .contact, .metrics {
        padding: 3rem 0;
    }
    .section-header {
        margin-bottom: 2rem;
    }
    .project-inner {
        grid-template-columns: 1fr;
    }
    .project-visual {
        min-height: 250px;
        padding: 1.5rem;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
    
    .project-image {
        max-height: 220px;
        max-width: 85%;
        width: auto;
    }
    .project-icon {
        font-size: 5rem;
    }
    .project-content {
        padding: 2rem 1.5rem;
    }
    .project-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .project-comparison {
        grid-template-columns: 1fr;
    }
    .btn-project {
        width: 100%;
        justify-content: center;
    }
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .form-wrapper {
        padding: 1.5rem;
    }
    .floating-element {
        display: none;
    }
}

@media (max-width: 480px) {
    .container, .header-container {
        padding: 0 1rem;
    }
    .header-inner {
        height: 60px;
    }
    nav.active {
        top: 60px;
    }
    .hero {
        padding: 7rem 0 4rem;
    }
    .projects, .process, .contact, .metrics {
        padding: 2rem 0;
    }
    .btn, .btn-submit, .btn-secondary, .btn-project {
        font-size: 0.9375rem;
        padding: 0.875rem 1.5rem;
    }
    .form-wrapper {
        padding: 1.25rem;
    }
    .metric, .step {
        padding: 1.5rem;
    }
    .stat-value {
        font-size: 2.25rem;
    }
    .project-visual {
        min-height: 200px;
        padding: 1rem;
    }
    
    .project-image {
        max-height: 180px;
        max-width: 80%;
        width: auto;
    }
    .project-icon {
        font-size: 4.5rem;
    }
    .project-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .project-title {
        font-size: 1.5rem;
    }
    .project-content {
        padding: 1.5rem;
    }
    .project-metrics {
        grid-template-columns: 1fr;
    }
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.9375rem;
    }
}