/* Mechanized Media Marketing Website Styles */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Charcoal primary palette */
    --primary-50: #f9fafb;
    --primary-100: #f3f4f6;
    --primary-200: #e5e7eb;
    --primary-300: #d1d5db;
    --primary-400: #9ca3af;
    --primary-500: #6b7280;
    --primary-600: #4b5563;
    --primary-700: #374151;
    --primary-800: #1f2937;
    --primary-900: #111827;
    --primary-950: #030712;
    
    /* Emerald accent */
    --accent: #059669;
    --accent-50: #ecfdf5;
    --accent-100: #d1fae5;
    --accent-200: #a7f3d0;
    --accent-500: #10b981;
    --accent-600: #059669;
    --accent-700: #047857;
    --accent-800: #065f46;
    
    /* Additional colors */
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --purple-500: #8b5cf6;
    --purple-600: #7c3aed;
    --orange-500: #f97316;
    --orange-600: #ea580c;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--primary-800);
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

p {
    color: var(--primary-600);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-700);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

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

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

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

.btn-outline:hover {
    background: var(--primary-100);
    border-color: var(--primary-400);
    color: var(--primary-800);
}

.btn-ghost {
    background: transparent;
    color: var(--primary-700);
}

.btn-ghost:hover {
    background: var(--primary-100);
    color: var(--primary-800);
}

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

.btn-full {
    width: 100%;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary-200);
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--primary-600);
    font-weight: 500;
    font-size: 0.9375rem;
}

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

.nav-actions {
    display: flex;
    gap: 12px;
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-mobile-toggle svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-700);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, var(--primary-50) 0%, white 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--primary-500);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
}

.stat {
    text-align: center;
}

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

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

/* Sections */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--primary-50);
}

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

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-100);
    color: var(--accent-700);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
}

/* Problem Cards */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.problem-card {
    text-align: center;
    padding: 32px;
}

.problem-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: #fef2f2;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-icon svg {
    width: 32px;
    height: 32px;
    stroke: #dc2626;
}

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

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--primary-200);
    transition: box-shadow 0.3s, transform 0.3s;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-700);
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

/* Campaign Cards */
.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.campaign-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--primary-200);
}

.campaign-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.campaign-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.campaign-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.campaign-icon-retail { background: var(--accent); }
.campaign-icon-bizop { background: var(--blue-600); }
.campaign-icon-coop { background: var(--purple-600); }
.campaign-icon-ppl { background: var(--orange-600); }
.campaign-icon-elearn { background: #ec4899; } /* Pink */

.campaign-header h3 {
    font-size: 1.25rem;
}

.campaign-domain {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--primary-200);
}

.campaign-domain code {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
    color: var(--primary-600);
    background: var(--primary-100);
    padding: 4px 12px;
    border-radius: 6px;
}

/* Steps */
.steps {
    max-width: 700px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

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

.pricing-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--primary-200);
    position: relative;
}

.pricing-card-featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

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

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

.price {
    margin-bottom: 8px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-900);
}

.price-period {
    color: var(--primary-500);
}

.price-description {
    font-size: 0.875rem;
    margin-bottom: 24px;
}

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

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.9375rem;
    color: var(--primary-700);
}

.pricing-features svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    flex-shrink: 0;
}

/* CTA Section */
.section-cta {
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
    color: white;
}

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

.cta-content h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-content > p {
    color: var(--primary-300);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-300);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--primary-600);
    border-radius: 8px;
    background: var(--primary-800);
    color: white;
    transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--primary-500);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group select {
    cursor: pointer;
}

.contact-form .btn {
    width: 100%;
    margin-top: 8px;
}

/* Member Code Section */
.section-member {
    padding: 60px 0;
    background: var(--primary-100);
}

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

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

.member-content > p {
    margin-bottom: 24px;
}

.code-form-inline {
    display: flex;
    gap: 12px;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.code-form-inline input {
    flex: 1;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid var(--primary-300);
    border-radius: 8px;
    background: white;
}

.code-form-inline input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Footer */
.footer {
    background: var(--primary-900);
    color: var(--primary-400);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.9375rem;
    color: var(--primary-400);
}

.footer-links h4 {
    color: white;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

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

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

.footer-links a {
    color: var(--primary-400);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--primary-700);
    text-align: center;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .features-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    
    .nav-links,
    .nav-actions {
        display: none;
    }
    
    .nav-mobile-toggle {
        display: block;
    }
    
    .nav-links-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        border-bottom: 1px solid var(--primary-200);
        gap: 16px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .problems-grid,
    .features-grid,
    .campaigns-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .code-form-inline {
        flex-direction: column;
    }
}
