/* ========================================
   a3dprint.pl - Main Stylesheet
   Responsive Design for All Devices
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --color-bg: #fbfbfd;
    --color-text: #1d1d1f;
    --color-text-secondary: #86868b;
    --color-accent: #0071e3;
    --color-accent-hover: #0077ed;
    --color-card-bg: #ffffff;
    --spacing-unit: 8px;
    --max-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Navigation
   ======================================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

nav.scrolled {
    background: rgba(251, 251, 253, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.logo:hover {
    color: var(--color-accent);
}

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

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: var(--transition);
    opacity: 0.8;
    position: relative;
    display: inline-block;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

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

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 20px;
}

.lang-switcher button {
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 12px;
    transition: var(--transition);
    text-transform: uppercase;
}

.lang-switcher button:hover {
    color: var(--color-accent);
    background: rgba(0, 113, 227, 0.1);
}

.lang-switcher button.active {
    background: var(--color-accent);
    color: white;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-text);
    z-index: 1001;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    color: var(--color-accent);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding: 180px 40px 120px;
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
    position: relative;
    overflow: visible;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.08) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    z-index: -1;
}

.hero h1 {
    font-size: clamp(50px, 8vw, 90px);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #1d1d1f 0%, #4a4a4a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero h1::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 0;
    height: 3px;
    background: var(--color-accent);
    animation: expandWidth 1.5s ease-out 0.8s forwards;
}

@keyframes expandWidth {
    to { width: 100px; }
}

.hero p {
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    line-height: 1.4;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero p.hero-description {
    font-size: clamp(15px, 2vw, 17px);
    max-width: 680px;
    margin: 0 auto 40px;
    opacity: 0.7;
    animation: fadeInUp 1s ease-out 0.5s backwards;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    padding: 16px 32px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn svg {
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--color-accent);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.3);
    border: none;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.4);
}

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

.btn-secondary {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.3);
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    padding: 100px 40px;
    background: linear-gradient(180deg, var(--color-bg) 0%, #ffffff 100%);
}

.about-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-card {
    background: white;
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.15);
    border-color: rgba(0, 113, 227, 0.3);
}

.stat-number {
    font-size: clamp(36px, 6vw, 48px);
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 80px 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: clamp(17px, 3vw, 21px);
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 90px;
    font-weight: 400;
}

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

.feature-card {
    background: var(--color-card-bg);
    padding: 48px 40px;
    border-radius: 24px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 113, 227, 0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 4px 8px rgba(0, 113, 227, 0.2));
}

.feature-card:hover .feature-icon {
    transform: translateY(-8px) rotate(5deg) scale(1.1);
}

.feature-icon rect {
    transition: all 0.5s ease;
}

.feature-card:hover .feature-icon rect {
    opacity: 0.2;
}

.feature-icon path,
.feature-icon circle {
    transition: all 0.5s ease;
}

.feature-card:hover .feature-icon path,
.feature-card:hover .feature-icon circle {
    stroke-width: 2.5;
}

.feature-card h3 {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--color-accent);
}

.feature-card p {
    font-size: clamp(15px, 2vw, 17px);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ========================================
   Services Section
   ======================================== */
.services {
    padding: 80px 40px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}

.services-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.service-item {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-item:hover .service-icon {
    transform: translateY(-6px) rotate(5deg) scale(1.1);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), #00d4ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-item:hover::after {
    transform: scaleX(1);
}

.service-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(0, 113, 227, 0.3);
}

.service-item h4 {
    font-size: clamp(17px, 2.5vw, 19px);
    font-weight: 600;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-item:hover h4 {
    transform: translateX(4px);
    color: var(--color-accent);
}

.service-item p {
    font-size: clamp(14px, 2vw, 15px);
    color: var(--color-text-secondary);
    line-height: 1.5;
    transition: color 0.3s ease;
}

.service-item:hover p {
    color: var(--color-text);
}

/* ========================================
   Materials Section
   ======================================== */
.materials-section {
    padding: 100px 40px;
    background: var(--color-bg);
}

.materials-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.material-card {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.material-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), #00d4ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.material-card:hover::before {
    transform: scaleX(1);
}

.material-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 113, 227, 0.15);
    border-color: rgba(0, 113, 227, 0.2);
}

.material-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.material-header h3 {
    font-size: clamp(24px, 4vw, 28px);
    font-weight: 700;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.material-card:hover .material-header h3 {
    color: var(--color-accent);
}

.material-badge {
    background: linear-gradient(135deg, var(--color-accent), #00d4ff);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.material-desc {
    font-size: clamp(14px, 2vw, 15px);
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.material-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.spec-item {
    font-size: clamp(13px, 2vw, 14px);
    color: var(--color-text);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-item::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ========================================
   Order Process Section
   ======================================== */
.process-section {
    padding: 100px 40px;
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 113, 227, 0.2), transparent);
    transform: translateX(-50%);
    z-index: 0;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto 80px;
    position: relative;
    z-index: 1;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 113, 227, 0.15);
}

.step-number {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.process-step:hover .step-number {
    transform: scale(1.15) rotate(5deg);
}

.step-number svg {
    width: 100%;
    height: 100%;
}

.process-step h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
    letter-spacing: -0.5px;
}

.process-step p {
    font-size: 16px;
    line-height: 1.6;
    color: #6e6e73;
    max-width: 500px;
}

.process-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.process-feature:hover {
    border-color: rgba(0, 113, 227, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.1);
}

.process-feature svg {
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.process-feature:hover svg {
    transform: scale(1.1);
}

.process-feature h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text);
}

.process-feature p {
    font-size: 15px;
    line-height: 1.5;
    color: #6e6e73;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 120px 40px;
    text-align: center;
    background: var(--color-text);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 113, 227, 0.1) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: shine 3s ease-in-out infinite;
}

.cta-section h2 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: clamp(17px, 3vw, 21px);
    opacity: 0.8;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.cta-section .btn-primary {
    background: white;
    color: var(--color-text);
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

.cta-section .btn-primary:hover {
    background: #f5f5f7;
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
    animation: none;
}

/* ========================================
   Footer
   ======================================== */
footer {
    background: #f5f5f7;
    padding: 60px 40px 40px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

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

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--color-text);
    transform: translateX(4px);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 13px;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Scroll Reveal Animations */
.scroll-reveal,
.scroll-reveal-left,
.scroll-reveal-right,
.scroll-scale {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal-left {
    transform: translateX(-50px);
}

.scroll-reveal-right {
    transform: translateX(50px);
}

.scroll-scale {
    transform: scale(0.8);
}

.scroll-reveal.active,
.scroll-reveal-left.active,
.scroll-reveal-right.active,
.scroll-scale.active {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* ========================================
   Responsive Design
   ======================================== */

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
    .nav-container,
    .about-container,
    .features,
    .services-container,
    .materials-container,
    .footer-container {
        max-width: 1400px;
    }
}

/* Tablet Landscape (1024px - 1439px) */
@media (max-width: 1439px) and (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .nav-container {
        padding: 16px 30px;
    }
    
    .nav-links {
        gap: 24px;
    }
    
    .nav-links a {
        font-size: 13px;
    }
    
    .hero {
        padding: 160px 40px 100px;
    }
    
    .hero h1 {
        font-size: 66px;
    }
    
    .hero p {
        font-size: 22px;
    }
    
    .about-container {
        gap: 60px;
    }
    
    .about-content p {
        font-size: 17px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    
    .process-steps {
        gap: 50px;
    }
    
    .process-step {
        padding: 36px 28px;
    }
    
    .process-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .stat-card {
        padding: 28px 24px;
    }
    
    .stat-number {
        font-size: 44px;
    }
    
    .feature-card {
        padding: 40px 32px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .section-subtitle {
        font-size: 19px;
        margin-bottom: 60px;
    }
}

/* Tablet Landscape & Small Desktop (1024px - 1279px) */
@media (max-width: 1279px) and (min-width: 1024px) {
    .hero {
        padding: 170px 40px 110px;
    }
    
    .hero h1 {
        font-size: 74px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 36px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .about-container {
        gap: 70px;
    }
}

/* Mobile Landscape & Large Phones (576px - 767px) */
@media (max-width: 767px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(251, 251, 253, 0.98);
        backdrop-filter: saturate(180%) blur(20px);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        gap: 20px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-container {
        padding: 16px 20px;
    }
    
    .hero {
        padding: 140px 20px 80px;
    }
    
    .hero::before {
        width: 500px;
        height: 500px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .features,
    .services,
    .materials-section {
        padding: 60px 20px;
    }
    
    .features-grid,
    .services-grid,
    .materials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 80px 20px;
    }
    
    footer {
        padding: 40px 20px;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    .logo {
        font-size: 20px;
    }
    
    .hero {
        padding: 120px 20px 60px;
    }
    
    .hero h1 {
        font-size: 46px;
        letter-spacing: -1px;
    }
    
    .hero p {
        font-size: 17px;
    }
    
    .hero p.hero-description {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-card {
        padding: 24px 20px;
    }
    
    .stat-number {
        font-size: 40px;
    }
    
    .feature-card,
    .service-item,
    .material-card {
        padding: 32px 24px;
    }
    
    .features,
    .services,
    .materials-section,
    .process-section {
        padding: 50px 16px;
    }
    
    .process-steps {
        gap: 40px;
    }
    
    .process-step {
        padding: 32px 20px;
    }
    
    .step-number {
        width: 64px;
        height: 64px;
    }
    
    .process-step h3 {
        font-size: 20px;
    }
    
    .process-step p {
        font-size: 15px;
    }
    
    .process-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-section {
        padding: 60px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .lang-switcher {
        order: -1;
        width: 100%;
        justify-content: center;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .cta-section h2 {
        font-size: 32px;
    }
    
    .cta-section p {
        font-size: 17px;
    }
}

/* Extra Small Devices (320px - 374px) */
@media (max-width: 374px) {
    .nav-container {
        padding: 12px 16px;
    }
    
    .logo {
        font-size: 18px;
    }
    
    .hero {
        padding: 100px 16px 50px;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    .features,
    .services,
    .materials-section {
        padding: 40px 16px;
    }
    
    .cta-section {
        padding: 60px 16px;
    }
    
    .feature-card,
    .service-item,
    .material-card {
        padding: 24px 20px;
    }
    
    .stat-card {
        padding: 20px 16px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .material-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .material-badge {
        font-size: 10px;
        padding: 4px 10px;
    }
}

/* Landscape phones (up to 767px height in landscape) */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 100px 40px 60px;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features,
    .services,
    .materials-section {
        padding: 50px 20px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-links a,
    .service-item,
    .feature-card,
    .material-card {
        -webkit-tap-highlight-color: rgba(0, 113, 227, 0.1);
    }
    
    /* Remove hover effects on touch devices */
    .feature-card:hover,
    .service-item:hover,
    .material-card:hover {
        transform: none;
    }
    
    /* Add active states instead */
    .feature-card:active,
    .service-item:active,
    .material-card:active {
        transform: scale(0.98);
    }
}

/* Print Styles */
@media print {
    nav,
    .mobile-menu-toggle,
    .cta-buttons,
    .lang-switcher,
    footer {
        display: none;
    }
    
    body {
        background: white;
    }
    
    .hero,
    .features,
    .services,
    .materials-section {
        padding: 20px 0;
    }
}
