/* PartsDNA - Custom Styles */
/* Brand Colors: Black (#000000), White (#FFFFFF), Red (#F42F42) */

/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    --primary-color: #F42F42;
    --primary-dark: #d12838;
    --primary-light: #ff4f5f;
    --black: #000000;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --transition-base: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Header & Navigation
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-base);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-logo {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo-parts {
    color: var(--black);
}

.logo-dna {
    color: var(--primary-color);
}

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

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition-base);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 47, 66, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: 1.5rem;
}

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

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-features-mini {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mini-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--gray-700);
}

.mini-feature svg {
    flex-shrink: 0;
}

/* ===================================
   Form Card
   =================================== */
.hero-form {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
}

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

.form-subtitle {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-base);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(244, 47, 66, 0.1);
}

.form-group input::placeholder {
    color: var(--gray-400);
}

.form-disclaimer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

.form-success {
    text-align: center;
    padding: 2rem;
}

.form-success svg {
    margin-bottom: 1.5rem;
}

.form-success h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--gray-600);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    width: 100%;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background-color: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   Trust Bar
   =================================== */
.trust-bar {
    padding: 2rem 0;
    background-color: var(--black);
    text-align: center;
}

.trust-text {
    color: var(--white);
    font-weight: 500;
    font-size: 1.125rem;
}

/* ===================================
   Features Section
   =================================== */
.features {
    padding: 100px 0;
    background-color: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
}

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

.feature-card {
    padding: 2rem;
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: 12px;
    transition: var(--transition-base);
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===================================
   How It Works Section
   =================================== */
.how-it-works {
    padding: 100px 0;
    background-color: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.step-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    text-align: center;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

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

.step-description {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1rem;
}

/* ===================================
   Stats Section
   =================================== */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--black) 0%, var(--gray-900) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--gray-300);
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials {
    padding: 100px 0;
    background-color: var(--white);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-stars {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
}

.author-title {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.testimonial-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    border-top: 1px solid var(--gray-200);
    padding-top: 1rem;
}

.testimonial-stats span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-note {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 60px 0 30px;
    background-color: var(--white);
    color: var(--gray-800);
    border-top: 1px solid var(--gray-200);
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-logo .logo-img {
    height: 50px;
    width: auto;
}

.footer-description {
    color: var(--gray-600);
    line-height: 1.7;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--gray-600);
    transition: var(--transition-base);
}

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

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

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

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

/* Tablet (Portrait) */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (Landscape & Portrait) */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        transition: var(--transition-base);
        padding: 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .form-card {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-logo {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .logo-img {
        height: 35px;
    }
    
    .footer-logo .logo-img {
        height: 45px;
    }
}

/* ===================================
   Cookie Consent Banner
   =================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    border-top: 3px solid var(--primary-color);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

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

.cookie-description {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0;
}

.cookie-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition-base);
}

.cookie-link:hover {
    color: var(--primary-dark);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    font-family: var(--font-primary);
    white-space: nowrap;
}

.btn-cookie-accept {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-cookie-accept:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-cookie-decline {
    background-color: var(--gray-200);
    color: var(--gray-700);
}

.btn-cookie-decline:hover {
    background-color: var(--gray-300);
}

/* Cookie Banner Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 1.25rem;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1.25rem;
        align-items: stretch;
    }
    
    .cookie-title {
        font-size: 1.125rem;
    }
    
    .cookie-description {
        font-size: 0.9rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-cookie {
        width: 100%;
        padding: 0.875rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .cookie-consent {
        padding: 1rem;
    }
    
    .cookie-title {
        font-size: 1rem;
    }
    
    .cookie-description {
        font-size: 0.85rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

