/* ============================================
   QUDE - Modern B2B Garment Marketplace
   Clean Light Theme Design
   ============================================ */

/* ============================================
   CSS VARIABLES - Design Tokens
   ============================================ */
:root {
    /* Color Palette - Light Theme */
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f8f9fa;
    --color-bg-tertiary: #f1f3f5;
    --color-bg-accent: #fff8f5;

    /* Orange/Coral Accent Colors */
    --color-accent-primary: #FF6B3D;
    --color-accent-secondary: #FF8C66;
    --color-accent-tertiary: #FFA587;
    --color-accent-dark: #E5522A;

    /* Text Colors */
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #4a5568;
    --color-text-tertiary: #718096;
    --color-text-light: #a0aec0;

    /* Border & Shadow */
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;

    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Typography Scale */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;

    /* Font Families */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Inter', sans-serif;

    /* Animation Timings */
    --transition-fast: 150ms;
    --transition-base: 200ms;
    --transition-slow: 300ms;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, var(--font-size-6xl));
    letter-spacing: -0.02em;
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, var(--font-size-5xl));
    letter-spacing: -0.01em;
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, var(--font-size-3xl));
    font-weight: 700;
}

h4 {
    font-size: var(--font-size-xl);
    font-weight: 600;
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.text-accent {
    color: var(--color-accent-primary);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-wide {
    max-width: 1400px;
}

section {
    padding: var(--space-4xl) 0;
    position: relative;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-base) ease;
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--color-accent-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: var(--font-size-sm);
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--transition-base) ease;
}

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

.nav-actions {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all var(--transition-base) ease;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: var(--font-size-sm);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base) ease;
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-accent-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 61, 0.25);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    box-shadow: 0 6px 16px rgba(255, 107, 61, 0.35);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
}

.btn-secondary:hover {
    border-color: var(--color-accent-primary);
    color: var(--color-accent-primary);
}

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

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

/* ============================================
   HERO SECTION - Premium Split Screen
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #fafbfc;
    padding: 100px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #1a1a1a;
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content h1 .text-accent {
    display: inline-block;
    position: relative;
    color: var(--color-text-primary);
}

.hero-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-actions .btn {
    padding: 1rem 2rem;
    font-size: 0.938rem;
    font-weight: 600;
}

/* Visual Section */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-bg-shape {
    position: absolute;
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(255, 107, 61, 0.08) 0%, rgba(255, 140, 102, 0.05) 100%);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 6s ease-in-out infinite;
}

.main-card {
    position: relative;
    width: 340px;
    height: 380px;
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 20px rgba(0, 0, 0, 0.04);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.6s ease;
    animation: float-card 4s ease-in-out infinite;
}

@keyframes float-card {

    0%,
    100% {
        transform: perspective(1000px) rotateY(-5deg) translateY(0);
    }

    50% {
        transform: perspective(1000px) rotateY(-5deg) translateY(-10px);
    }
}

.main-card:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-5px);
}

.card-header {
    margin-bottom: 2rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.card-header .count {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: white;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-primary);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.04);
    white-space: nowrap;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--color-bg-secondary);
    border-radius: 0.5rem;
    font-size: 1rem;
}

.badge-1 {
    top: 10%;
    right: -5%;
    animation: float-badge-1 3s ease-in-out infinite;
}

.badge-2 {
    top: 50%;
    left: -15%;
    animation: float-badge-2 4s ease-in-out infinite 0.5s;
}

.badge-3 {
    bottom: 15%;
    right: -8%;
    animation: float-badge-3 3.5s ease-in-out infinite 1s;
}

@keyframes float-badge-1 {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes float-badge-2 {

    0%,
    100% {
        transform: translateY(0) rotate(2deg);
    }

    50% {
        transform: translateY(-12px) rotate(-2deg);
    }
}

@keyframes float-badge-3 {

    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-18px) rotate(1deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(20px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* ============================================
   STATS DASHBOARD
   ============================================ */
.stats-section {
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.stat-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-base) ease;
}

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

.stat-value {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--color-accent-primary);
    margin-bottom: var(--space-xs);
    display: block;
}

.stat-label {
    font-size: var(--font-size-xs);
    color: var(--color-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.stat-description {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin: 0;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
}

.section-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-bg-accent);
    color: var(--color-accent-primary);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(255, 107, 61, 0.2);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
#features {
    background: var(--color-bg-secondary);
}

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

.feature-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    transition: all var(--transition-slow) ease;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-accent-secondary) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-lg);
    box-shadow: 0 8px 16px rgba(255, 107, 61, 0.25);
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-xl);
}

.feature-card p {
    margin: 0;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */
#technology {
    background: white;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
#how-it-works {
    background: var(--color-bg-secondary);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    position: relative;
}

.step-card {
    position: relative;
    padding: var(--space-2xl) var(--space-xl);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base) ease;
}

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

.step-number {
    position: absolute;
    top: -24px;
    left: var(--space-xl);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-accent-secondary) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    font-weight: 800;
    color: white;
    box-shadow: 0 8px 16px rgba(255, 107, 61, 0.3);
}

.step-card h3 {
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-xl);
}

.step-card p {
    margin: 0;
    color: var(--color-text-secondary);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: white;
}

.testimonial-card {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl) var(--space-2xl);
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-quote {
    font-size: var(--font-size-xl);
    line-height: 1.8;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xl);
    font-style: normal;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.author-avatar {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-accent-secondary) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    font-size: var(--font-size-lg);
}

.author-role {
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: 0.25rem;
}

.author-company {
    color: var(--color-accent-primary);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-accent-secondary) 100%);
    border-radius: var(--radius-3xl);
    padding: var(--space-4xl) var(--space-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(255, 107, 61, 0.3);
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xl);
}

.cta-section .btn {
    background: white;
    color: var(--color-accent-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-section .btn:hover {
    background: var(--color-bg-secondary);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ============================================
   SUPPORT SECTION
   ============================================ */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.support-card {
    text-align: center;
    padding: var(--space-xl);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base) ease;
}

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

.support-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-accent-secondary) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    margin: 0 auto var(--space-lg);
    box-shadow: 0 8px 20px rgba(255, 107, 61, 0.25);
}

.support-card h3 {
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-xl);
}

.support-card p {
    margin: 0;
    color: var(--color-text-secondary);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-section {
    background: var(--color-bg-secondary);
}

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

.form-grid {
    display: grid;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text-primary);
    font-size: var(--font-size-base);
    transition: all var(--transition-base) ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 61, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    margin-top: var(--space-md);
}

.form-submit .btn {
    width: 100%;
    padding: var(--space-md);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-text-primary);
    color: white;
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand h3 {
    font-size: var(--font-size-2xl);
    color: var(--color-accent-primary);
    margin-bottom: var(--space-md);
}

.footer-brand p {
    max-width: 400px;
    margin-bottom: var(--space-lg);
    color: rgba(255, 255, 255, 0.8);
}

.footer-links h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-md);
    color: white;
}

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

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-base) ease;
}

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

.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-sm);
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-md);
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    animation: fadeIn var(--transition-slow) ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    opacity: 0;
    transform: translateY(20px);
}

.slide-up.visible {
    animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --space-3xl: 4rem;
        --space-4xl: 6rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .hero-grid {
        gap: 3rem;
    }

    .hero-visual {
        height: 450px;
    }

    .main-card {
        width: 300px;
        height: 340px;
    }
}

@media (max-width: 768px) {
    :root {
        --space-2xl: 3rem;
        --space-3xl: 3rem;
        --space-4xl: 4rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: var(--space-3xl) 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-content p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        justify-content: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-visual {
        height: 400px;
    }

    .main-card {
        width: 280px;
        height: 320px;
    }

    .floating-badge {
        font-size: 0.75rem;
        padding: 0.75rem 1rem;
    }

    .badge-1 {
        right: 5%;
    }

    .badge-2 {
        left: 0;
    }

    .badge-3 {
        right: 0;
    }

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

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

    .steps-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

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

    section {
        padding: var(--space-3xl) 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .cta-section {
        padding: var(--space-2xl) var(--space-lg);
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

.mb-2xl {
    margin-bottom: var(--space-2xl);
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mt-xl {
    margin-top: var(--space-xl);
}

.mt-2xl {
    margin-top: var(--space-2xl);
}