/* ===================================
   Flyer2Web - Professional Styles
   =================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;

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

    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

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

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

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

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--gray-900);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 800;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
}

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

.nav-link.cta-button {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius);
}

.nav-link.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8f4fc 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero-title {
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flyer-preview {
    display: flex;
    align-items: center;
    gap: 24px;
}

.preview-card {
    width: 180px;
    height: 240px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transition: var(--transition);
}

.preview-card.paper {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 12px;
}

.paper-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.paper-header {
    height: 16px;
    background: linear-gradient(90deg, var(--gray-300) 0%, var(--gray-200) 100%);
    border-radius: 3px;
    width: 70%;
    margin: 0 auto;
}

.paper-image {
    height: 70px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 4px;
    position: relative;
}

.paper-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 4px;
    background: rgba(255,255,255,0.5);
}

.paper-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.paper-line {
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
}

.paper-line.long { width: 100%; }
.paper-line.medium { width: 85%; }
.paper-line.short { width: 60%; }

.paper-cta {
    height: 20px;
    background: linear-gradient(135deg, var(--gray-300) 0%, var(--gray-400) 100%);
    border-radius: 4px;
    width: 60%;
    margin: 0 auto;
}

.preview-card.digital {
    background: var(--white);
    padding: 8px;
}

.preview-browser {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.preview-browser span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
}

.preview-browser span:first-child { background: #ff5f57; }
.preview-browser span:nth-child(2) { background: #febc2e; }
.preview-browser span:nth-child(3) { background: #28c840; }

.preview-content {
    height: calc(100% - 20px);
    background: var(--gray-50);
    border-radius: 4px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.web-nav {
    height: 10px;
    background: var(--white);
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.web-hero {
    height: 50px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 4px;
    position: relative;
}

.web-hero::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 50%;
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.web-hero::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 8px;
    width: 30px;
    height: 12px;
    background: rgba(255,255,255,0.9);
    border-radius: 2px;
}

.web-features {
    display: flex;
    gap: 4px;
    flex: 1;
}

.web-feature {
    flex: 1;
    background: var(--white);
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    position: relative;
}

.web-feature::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 3px;
}

.web-feature::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
}

.web-cta {
    height: 14px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 3px;
    width: 50%;
    margin: 0 auto;
}

.arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.arrow {
    width: 48px;
    height: 48px;
    color: var(--primary);
}

@keyframes pulse {
    0%, 100% { transform: translateX(0); opacity: 1; }
    50% { transform: translateX(10px); opacity: 0.7; }
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: var(--section-padding);
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 16px;
}

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

/* ===================================
   Services Section
   =================================== */
.services {
    background: var(--gray-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

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

.service-card.featured {
    border-color: var(--primary);
    background: linear-gradient(to bottom, rgba(79, 70, 229, 0.02), var(--white));
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.service-features {
    margin-top: auto;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray-600);
    padding: 6px 0;
}

.service-features li::before {
    content: '\2713';
    color: var(--success);
    font-weight: 700;
}

/* ===================================
   Features Section
   =================================== */
.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.1);
    border-radius: var(--radius);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.feature-text h4 {
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.9375rem;
    color: var(--gray-500);
}

.features-visual {
    display: flex;
    justify-content: center;
}

.feature-showcase {
    position: relative;
    width: 320px;
    height: 480px;
}

.device-frame {
    width: 100%;
    height: 100%;
    background: var(--gray-900);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
}

.device-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
}

.screen-content {
    height: 100%;
    padding: 16px;
}

.mock-header {
    height: 24px;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.mock-hero {
    height: 120px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.mock-cards {
    display: flex;
    gap: 8px;
}

.mock-card {
    flex: 1;
    height: 80px;
    background: var(--gray-100);
    border-radius: var(--radius);
}

.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-size: 0.875rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.floating-badge .badge-icon {
    font-size: 1.25rem;
}

.badge-1 { top: 60px; left: -40px; animation-delay: 0s; }
.badge-2 { top: 180px; right: -60px; animation-delay: 1s; }
.badge-3 { bottom: 100px; left: -50px; animation-delay: 2s; }

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

/* ===================================
   How It Works Section
   =================================== */
.how-it-works {
    background: var(--gray-50);
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 20px;
}

.step-number {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.step-content {
    text-align: center;
}

.step-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.1);
    border-radius: var(--radius-lg);
    margin: 0 auto 16px;
}

.step-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.step-content h3 {
    margin-bottom: 8px;
}

.step-content p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.step-connector {
    position: absolute;
    top: 32px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: var(--gray-300);
}

.step:last-child .step-connector {
    display: none;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    margin-bottom: 16px;
}

.testimonial-rating span {
    color: var(--accent);
    font-size: 1.25rem;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    border-radius: 50%;
}

.author-info h4 {
    margin-bottom: 2px;
    font-size: 1rem;
}

.author-info p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ===================================
   Pricing Section
   =================================== */
.pricing {
    background: var(--gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

.pricing-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-600);
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.price .period {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.pricing-description {
    color: var(--gray-500);
    font-size: 0.9375rem;
}

.pricing-features {
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9375rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .check {
    color: var(--success);
    font-weight: 700;
}

.pricing-features .x {
    color: var(--gray-400);
}

.pricing-features li.disabled {
    color: var(--gray-400);
}

/* ===================================
   Contact Section
   =================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    margin-bottom: 24px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.benefits-list li {
    display: flex;
    gap: 16px;
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefits-list h4 {
    margin-bottom: 4px;
}

.benefits-list p {
    color: var(--gray-500);
    font-size: 0.9375rem;
}

.contact-details {
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.contact-details h4 {
    margin-bottom: 12px;
}

.contact-details p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.contact-form-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    margin-bottom: 8px;
}

.step-description {
    color: var(--gray-500);
    margin-bottom: 24px;
}

/* Upload Area */
.upload-area {
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    margin-bottom: 24px;
    transition: var(--transition);
    background: var(--gray-50);
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.02);
}

.upload-placeholder .upload-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
}

.upload-placeholder .upload-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.upload-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 4px;
}

.upload-subtext {
    color: var(--gray-400);
    margin-bottom: 16px;
}

.upload-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.upload-preview {
    position: relative;
}

.upload-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.upload-preview .btn-danger {
    position: absolute;
    top: 10px;
    right: 10px;
}

.upload-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.upload-status.uploading {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
}

.upload-status.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.upload-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.upload-status .status-icon {
    width: 24px;
    height: 24px;
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--gray-700);
}

.form-group .required {
    color: var(--danger);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-family);
    font-size: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

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

.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.form-actions .btn:first-child {
    flex: 0 0 auto;
}

.form-actions .btn:last-child {
    flex: 1;
}

/* Success State */
.success-content {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--success);
}

.success-content h3 {
    margin-bottom: 12px;
}

.success-content p {
    color: var(--gray-600);
    margin-bottom: 16px;
}

.submission-id {
    font-family: monospace;
    background: var(--gray-100);
    padding: 8px 16px;
    border-radius: var(--radius);
    display: inline-block;
    margin-bottom: 24px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 80px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand > p {
    color: var(--gray-400);
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: var(--radius);
    color: var(--gray-400);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

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

.footer-column ul li a,
.footer-column ul li {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ===================================
   Responsive Styles
   =================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .features-visual {
        order: -1;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

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

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

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 32px 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-toggle {
        display: flex;
    }

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

    .steps-container {
        flex-direction: column;
        gap: 32px;
    }

    .step-connector {
        display: none;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-form-container {
        padding: 24px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .flyer-preview {
        flex-direction: column;
    }

    .arrow-container {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .upload-buttons {
        flex-direction: column;
    }

    .upload-buttons .btn {
        width: 100%;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .btn {
        width: 100%;
    }
}

/* Loading Spinner */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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