/* GetFabricated.com - Main Stylesheet */
/* ================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables */
:root {
    --primary: #1a1a1a;
    --accent: #ff6b35;
    --grid: #2a2a2a;
    --text-light: #e0e0e0;
    --blueprint: #003d82;
    --bg-dark: #0a0a0a;
    --border-subtle: rgba(255,107,53,0.2);
    --border-hover: rgba(255,107,53,0.4);
    --shadow-accent: rgba(255,107,53,0.3);
}

/* Base Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: #fff;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    line-height: 1.2;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--accent);
}

/* CAD Grid Background */
.cad-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,107,53,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,107,53,0.03) 1px, transparent 1px),
        linear-gradient(rgba(255,107,53,0.01) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255,107,53,0.01) 2px, transparent 2px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
    pointer-events: none;
    opacity: 0.5;
    animation: grid-slide 20s linear infinite;
    z-index: 0;
}

@keyframes grid-slide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

/* Logo */
.logo {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    width: 100%;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Specs Ruler Component */
.specs-ruler {
    display: inline-block;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1rem 2rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.specs-ruler::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,107,53,0.2), transparent);
    animation: sweep 3s infinite;
}

@keyframes sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.specs-ruler .spec {
    display: inline-block;
    margin: 0 1.5rem;
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--shadow-accent);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--border-hover);
}

/* Ripple effect for button clicks */
.cta-button .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    animation: ripple-effect 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    position: relative;
    z-index: 10;
    background: #0f0f0f; /* Slightly lighter than pure black to ensure visibility */
    min-height: 400px; /* Ensure section has height */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255,107,53,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Trust Section */
.trust-section {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    z-index: 10;
}

.trust-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    color: var(--text-light);
}

.trust-badge span {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.5rem;
}

/* Process Section */
.process {
    padding: 5rem 2rem;
    background: var(--bg-dark);
    position: relative;
    z-index: 10;
}

.process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-step h3 {
    margin-bottom: 0.5rem;
    color: var(--accent);
}

/* Final CTA Section */
.final-cta {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(255,107,53,0.1) 0%, var(--bg-dark) 100%);
    position: relative;
    z-index: 10;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Dimension Annotation (CAD-style decorative elements) */
.dimension-line {
    position: absolute;
    height: 1px;
    background: var(--accent);
    opacity: 0.3;
    pointer-events: none;
}

.dimension-line::before,
.dimension-line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid var(--accent);
    background: var(--bg-dark);
    top: -4px;
}

.dimension-line::before {
    left: -4px;
}

.dimension-line::after {
    right: -4px;
}

/* Animation Utilities */
.fade-in-up {
    opacity: 1; /* Changed from 0 to 1 - visible by default */
    transform: translateY(0); /* Start in final position */
    transition: all 0.6s ease;
}

.fade-in-up.animate {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .specs-ruler {
        padding: 1rem;
    }
    
    .specs-ruler .spec {
        display: block;
        margin: 0.5rem 0;
    }
    
    .trust-badges {
        gap: 1.5rem;
    }
    
    .trust-badge {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.125rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .logo {
        font-size: 2rem;
    }
}