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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

h1, h2, h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

/* Header */
.main-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

.cta-button {
    background: #6366f1;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.cta-button:hover {
    background: #4f46e5;
}

/* Main Navigation */
.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #6366f1;
    transition: width 0.2s ease;
}

.main-nav a:hover {
    color: #111827;
}

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

/* Hero Section */
.hero {
    padding: 5rem 0 6rem;
    background: linear-gradient(180deg, #ffffff 0%, rgba(99, 102, 241, 0.02) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #111827;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 480px;
}

.cta-primary {
    background: #6366f1;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    display: inline-block;
    transition: background 0.2s;
}

.cta-primary:hover {
    background: #4f46e5;
}

.pricing-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.hero-product .demo-window {
    transform: perspective(1000px) rotateY(-3deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Download Buttons */
.download-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.hero-content .download-buttons {
    align-items: flex-start;
}

.download-meta {
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 0;
}

.download-alt {
    font-size: 0.875rem;
    color: #6366f1;
    text-decoration: none;
    transition: color 0.2s;
}

.download-alt:hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* Demo Window */
.demo-window {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #e5e7eb;
    background: white;
}

.demo-window-bar {
    background: #f5f5f5;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e5e7eb;
}

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

.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28c840; }

.demo-placeholder {
    background: #fafafa;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-placeholder-text {
    font-size: 1rem;
    color: #9ca3af;
    font-weight: 500;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-align: center;
    margin-bottom: 3rem;
    color: #111827;
}

/* Problems Section - Staggered Layout */
.section-problems {
    padding: 5rem 0;
    background: #ffffff;
}

.problems-header {
    margin-bottom: 3rem;
}

.problems-header h2 {
    text-align: left;
    margin-bottom: 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
}

.problems-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
}

.problem-card {
    padding: 2rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.problem-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.problem-large {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.problems-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.problem-number {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6366f1;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.problem-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #111827;
}

.problem-card p {
    color: #6b7280;
    line-height: 1.7;
}

/* Solution Section - Feature Highlight */
.section-solution {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.solution-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: start;
}

.solution-main {
    padding-right: 2rem;
}

.solution-badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}

.solution-main h2 {
    text-align: left;
    margin-bottom: 1.25rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
}

.solution-main > p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.solution-stats {
    display: flex;
    gap: 3rem;
}

.solution-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #6366f1;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: #6366f1;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111827;
}

.feature-text p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Highlighted feature card */
.feature-highlighted {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border: none;
}

.feature-highlighted:hover {
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

.feature-highlighted .feature-icon {
    color: rgba(255, 255, 255, 0.9);
}

.feature-highlighted .feature-text h3 {
    color: white;
}

.feature-highlighted .feature-text p {
    color: rgba(255, 255, 255, 0.9);
}

/* Questions Section - Editorial Rows */
.section-questions {
    padding: 5rem 0;
    background: #ffffff;
}

.questions-layout {
    max-width: 700px;
}

.questions-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1.5rem;
    margin-bottom: 2.5rem;
}

.questions-header h2 {
    text-align: left;
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
}

.questions-more {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.questions-more:hover {
    color: #4f46e5;
}

.questions-list {
    display: flex;
    flex-direction: column;
}

.question-row {
    padding: 1.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.question-row:last-child {
    border-bottom: none;
}

.question-row h3 {
    font-size: 1.125rem;
    color: #111827;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.question-row p {
    color: #6b7280;
    margin: 0;
    line-height: 1.7;
}

/* Pricing Section - Asymmetric Layout */
.section-pricing {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.pricing-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.pricing-intro h2 {
    text-align: left;
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.pricing-intro > p {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.pricing-free {
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.pricing-free h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.pricing-free > p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.pricing-free .download-buttons {
    align-items: flex-start;
}

.download-btn-secondary {
    background: #111827;
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background 0.2s;
}

.download-btn-secondary:hover {
    background: #374151;
}

.pricing-paid {
    position: relative;
}

.paid-card {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-radius: 16px;
    padding: 2.5rem;
    color: white;
}

.paid-badge {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.paid-price {
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.price-once {
    font-size: 1.25rem;
    font-weight: 500;
    opacity: 0.9;
    margin-left: 0.5rem;
}

.paid-features {
    list-style: none;
    margin-bottom: 2rem;
}

.paid-features li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    padding-left: 1.5rem;
    position: relative;
}

.paid-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.7);
}

.buy-btn {
    display: block;
    width: 100%;
    background: white;
    color: #4f46e5;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.paid-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.disclaimer {
    text-align: center;
    margin-top: 3rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(99, 102, 241, 0.5) 50%,
        transparent 100%
    );
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    margin: 0 1rem;
}

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

/* FAQ Page */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.faq-item p {
    color: #6b7280;
    line-height: 1.7;
}

/* How It Works Page */
.steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.step p {
    color: #6b7280;
    line-height: 1.7;
}

.screenshot-placeholder {
    margin-top: 1.5rem;
    background: #e5e7eb;
    border-radius: 8px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.screenshot {
    margin-top: 1.5rem;
}

.screenshot img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Content Pages (Privacy, Contact) */
.content-page {
    max-width: 700px;
    margin: 0 auto;
}

.content-page h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #111827;
}

.content-page h3:first-child {
    margin-top: 0;
}

.content-page p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.content-page a {
    color: #6366f1;
}

/* Contact Form */
.contact-form-container {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #111827;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: #6366f1;
    color: white;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #4f46e5;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Contact Form Status Messages */
.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive - Tablet */
@media (max-width: 900px) {
    .hero-grid,
    .problems-layout,
    .solution-layout,
    .pricing-layout {
        grid-template-columns: 1fr;
    }

    .hero-content,
    .problems-header h2,
    .solution-main h2,
    .pricing-intro h2 {
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-product {
        order: 2;
    }

    .hero-content .download-buttons,
    .pricing-free .download-buttons {
        align-items: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-product .demo-window {
        transform: none;
        max-width: 600px;
        margin: 0 auto;
    }

    .solution-main {
        padding-right: 0;
        text-align: center;
    }

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

    .problems-header {
        text-align: center;
    }

    .pricing-intro {
        text-align: center;
    }

    .pricing-intro > p {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .paid-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .main-nav {
        display: none;
    }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .solution-stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .solution-stat {
        text-align: center;
    }

    .questions-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .problems-header h2,
    .solution-main h2,
    .pricing-intro h2 {
        font-size: 2rem;
    }

    .price-amount {
        font-size: 3rem;
    }

    .header-content {
        padding: 0 1rem;
    }

    .container {
        padding: 0 1rem;
    }
}

/* Legal Pages (Terms of Service) */
.page-legal {
    padding: 4rem 0 6rem;
}

.page-legal .container {
    max-width: 800px;
}

.legal-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
    margin-bottom: 0.5rem;
}

.legal-meta {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0.25rem 0;
}

.legal-body {
    color: #374151;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    text-align: left;
}

.legal-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #4b5563;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.legal-section strong {
    color: #111827;
}

.legal-section address {
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #4b5563;
    margin: 1rem 0;
}

.legal-section a {
    color: #6366f1;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #e5e7eb;
}

.cookie-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #111827;
}

.cookie-table td {
    color: #374151;
}

.cookie-table tr:nth-child(even) td {
    background: #f9fafb;
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.legal-footer p {
    font-size: 0.95rem;
    color: #6b7280;
    font-style: italic;
}

/* Legal page responsive */
@media (max-width: 600px) {
    .legal-header h1 {
        font-size: 1.75rem;
    }

    .legal-section h2 {
        font-size: 1.1rem;
    }
}