/* The Printer App Website Styles */
/* Modern, professional design - Acme Factory Inc. brand consistency */

:root {
    --primary: #22c55e;
    --primary-dark: #16a34a;
    --primary-light: #4ade80;
    --secondary: #3b82f6;
    --accent: #f59e0b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --bg-dark: #0a0a1a;
    --bg-card: #16213e;
    --bg-card-hover: #1a2744;
    --bg-gradient: linear-gradient(135deg, #22c55e 0%, #3b82f6 100%);
    
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    
    --radius: 12px;
    --radius-lg: 20px;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    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: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-secondary);
}

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

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #0a0a1a !important;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #0a0a1a !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
}

a.btn-primary,
a.btn-primary:hover,
a.btn-primary:visited,
a.btn-primary:active {
    color: #0a0a1a !important;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 10px 20px;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 26, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.logo-icon {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
}

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

.nav-links a.btn-primary,
.nav-links a.btn-primary:hover {
    color: #0a0a1a !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-gradient);
    opacity: 0.08;
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 60%);
}

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

.hero-content h1 {
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

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

.hero-stats .stat {
    text-align: center;
}

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

.hero-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* App Preview Window */
.hero-image {
    display: flex;
    justify-content: center;
}

.app-preview {
    perspective: 1000px;
}

.app-window {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotateY(-5deg) rotateX(5deg);
    width: 480px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.window-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.window-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca40; }

.window-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.window-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-toolbar {
    display: flex;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.mock-btn {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

.mock-btn.active {
    background: var(--primary);
    color: var(--bg-dark);
}

.mock-canvas {
    background: #ffffff;
    border-radius: 8px;
    height: 200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 10px;
}

.mock-img {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0.7;
}

.mock-img:nth-child(2) { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.mock-img:nth-child(3) { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.mock-img:nth-child(4) { background: linear-gradient(135deg, #fef3c7, #fde68a); }

/* Section Styles */
section {
    padding: 100px 0;
}

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

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

/* Features Section */
.features-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(22, 33, 62, 0.5) 100%);
}

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

.feature {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature h4 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature p {
    font-size: 0.95rem;
}

/* How It Works Section */
.how-section {
    background: var(--bg-dark);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    counter-reset: step;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 20px;
}

.step h4 {
    margin-bottom: 10px;
}

.step p {
    font-size: 0.95rem;
}

/* Screenshots Section */
.screenshots-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(22, 33, 62, 0.5) 100%);
    padding: 80px 0;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.screenshot-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.real-app-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 40px;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.4);
}

.screenshot-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(34, 197, 94, 0.15);
}

.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.screenshot-card h4 {
    padding: 20px 25px 10px;
    color: var(--text-primary);
}

.screenshot-card p {
    padding: 0 25px 25px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}

/* Download Section */
.download-section {
    background: linear-gradient(180deg, rgba(22, 33, 62, 0.5) 0%, var(--bg-dark) 100%);
    padding: 80px 0;
}

.download-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    border: 1px solid var(--primary);
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.15);
}

.download-card h2 {
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}

.download-card > p {
    color: #e0e0e0;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.download-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    background: var(--primary);
    border-radius: var(--radius);
    color: var(--bg-dark) !important;
    transition: var(--transition);
    font-weight: 700;
    font-size: 1.1rem;
}

.download-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    color: var(--bg-dark) !important;
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.3);
}

.download-icon {
    font-size: 2rem;
}

.download-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 15px;
}

.system-req {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(34, 197, 94, 0.3);
}

.system-req h4 {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.req-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.req-item {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

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

.footer-brand p {
    margin-top: 15px;
    font-size: 0.9rem;
}

.footer-links h5 {
    margin-bottom: 20px;
    color: var(--text-primary);
    font-size: 1rem;
}

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

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

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

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Waitlist Form Styles */
.waitlist-form {
    margin: 2rem 0;
}

.signup-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.waitlist-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-card);
    color: var(--text-primary);
    transition: var(--transition);
}

.waitlist-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.waitlist-input::placeholder {
    color: var(--text-muted);
}

.waitlist-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #b0b0b0;
}

.coming-soon-features {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(34, 197, 94, 0.3);
}

.coming-soon-features h3 {
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-size: 1.1rem;
}

.coming-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.coming-feature {
    padding: 0.75rem 1rem;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 480px) {
    .signup-form {
        flex-direction: column;
    }
    
    .waitlist-input {
        min-width: 100%;
    }
    
    .coming-features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Thanks Page Styles */
.thanks-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
}

.thanks-card {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.thanks-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.thanks-card h1 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.thanks-card p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.thanks-footer {
    border-top: none;
    padding-top: 0;
}

/* Legal Page Styles */
.legal-hero {
    padding: 120px 0 40px;
    text-align: center;
}

.legal-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.legal-hero .last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.legal-content {
    padding: 40px 0 80px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--primary);
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-content h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem;
}

.legal-content p, .legal-content li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: var(--text-primary);
}

.legal-content a {
    color: var(--primary);
}

.highlight-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.highlight-box.green {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.highlight-box.warning {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

/* FAQ Page Styles */
.faq-content {
    padding: 40px 0 80px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.faq-item {
    margin-bottom: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(34, 197, 94, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: rgba(22, 33, 62, 0.3);
}

.faq-item.open .faq-answer {
    max-height: 600px;
    padding: 1.25rem 1.5rem;
}

.faq-answer p,
.faq-answer li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.faq-answer p:last-child,
.faq-answer ul:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.faq-answer li {
    margin-bottom: 0.4rem;
}

.faq-answer strong {
    color: var(--text-primary);
}

.faq-answer a {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .app-window {
        width: 100%;
        max-width: 400px;
        transform: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .download-card {
        padding: 40px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

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

.hero-content,
.hero-image {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature,
.step {
    animation: fadeInUp 0.6s ease-out;
    opacity: 1;
}
