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

:root {
    --primary-color: #000000;
    --primary-dark: #000000;
    --primary-light: #1a1a1a;
    --text-primary: #000000;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-dark: #000000;
    --border-color: #e5e5e5;
    --success-color: #000000;
    --gradient-start: #000000;
    --gradient-end: #1a1a1a;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 2px 4px 0 rgb(0 0 0 / 0.08);
    --shadow-lg: 0 4px 8px 0 rgb(0 0 0 / 0.12);
    --shadow-xl: 0 8px 16px 0 rgb(0 0 0 / 0.16);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    background: var(--bg-primary);
    text-align: center;
    position: relative;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 32px;
    animation: fadeInDown 0.6s ease-out;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

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

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* CTA Container */
.cta-container {
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.cta-button {
    display: inline-block;
    width: 100%;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 500;
    color: white;
    background: var(--text-primary);
    border: 1px solid var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
}

.cta-button:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-note {
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
}

/* Problem Section */
.problem-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    text-align: center;
    margin-bottom: 64px;
    color: var(--text-primary);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.problem-card {
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.problem-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
}

.problem-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.problem-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Solution Section */
.solution-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.solution-text {
    max-width: 600px;
}

.solution-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.solution-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-secondary);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--text-primary);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

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

.demo-box {
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.demo-dots {
    display: flex;
    gap: 6px;
}

.demo-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
}

.demo-dots span:nth-child(1) {
    background: #ff5f57;
}

.demo-dots span:nth-child(2) {
    background: #ffbd2e;
}

.demo-dots span:nth-child(3) {
    background: #28ca42;
}

.demo-title {
    font-weight: 600;
    color: var(--text-primary);
}

.demo-content {
    padding: 24px;
}

.demo-question {
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    color: var(--text-primary);
}

.demo-answer {
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 2px solid var(--text-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

.demo-source {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

/* Proof Section */
.proof-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

.proof-stat {
    text-align: center;
    margin-bottom: 64px;
}

.stat-number {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.stat-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

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

.testimonial-card {
    padding: 32px;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.testimonial-text {
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

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

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

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-role {
    font-size: 14px;
    color: var(--text-light);
}

/* Trust Section */
.trust-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.trust-badge {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-primary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

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

.badge-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.trust-badge h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.trust-badge p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Final CTA Section */
.final-cta-section {
    padding: 100px 0;
    background: var(--text-primary);
    color: white;
    text-align: center;
}

.final-cta-section .section-title,
.cta-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.cta-description {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-section .cta-button {
    max-width: 600px;
    margin: 0 auto 16px;
    background: white;
    color: var(--text-primary);
}

.final-cta-section .cta-button:hover {
    background: #f5f5f5;
}

.final-cta-section .cta-note {
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    padding: 60px 0;
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-copyright {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.footer-info {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer-info strong {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 13px;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-link-inline {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link-inline:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-link-inline strong {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        align-items: center;
        width: 100%;
    }

    .footer-section {
        text-align: center;
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 80px;
    }

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

    .solution-visual {
        order: -1;
    }

    .problems-grid,
    .trust-badges {
        grid-template-columns: 1fr;
    }

    .problem-section,
    .solution-section,
    .proof-section,
    .trust-section,
    .final-cta-section {
        padding: 60px 0;
    }
}

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

    .hero {
        padding: 40px 0 60px;
    }

    .problem-card,
    .testimonial-card,
    .trust-badge {
        padding: 24px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Legal Pages Styles */
.legal-header {
    padding: 24px 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

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

.legal-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.back-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 0.7;
}

.legal-page {
    padding: 60px 0 100px;
    background: var(--bg-primary);
    min-height: calc(100vh - 200px);
}

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

.legal-content h1 {
    font-size: clamp(32px, 5vw, 40px);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-date {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.legal-content section {
    margin-bottom: 48px;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-content ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--text-primary);
    text-decoration: underline;
    transition: opacity 0.2s;
}

.legal-content a:hover {
    opacity: 0.7;
}

.legal-info-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    margin: 16px 0;
}

.legal-info-box p {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.legal-info-box p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 40px 0 80px;
    }

    .legal-content {
        padding: 0 16px;
    }

    .legal-content ul {
        margin-left: 20px;
    }
}

/* Top Right Container */
.top-right-container {
    position: fixed;
    top: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    z-index: 1000;
}

/* Product Hunt Badge */
.producthunt-badge {
    display: flex;
    align-items: center;
}

.producthunt-badge a {
    display: block;
    transition: transform 0.2s, opacity 0.2s;
}

.producthunt-badge a:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.producthunt-badge img {
    display: block;
    border-radius: 6px;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 4px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 4px;
    box-shadow: var(--shadow-md);
}

.lang-btn {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.lang-btn:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.lang-btn.active {
    color: var(--text-primary);
    background: var(--bg-secondary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .top-right-container {
        top: 12px;
        right: 12px;
        gap: 8px;
        flex-direction: row;
        align-items: center;
    }
    
    .producthunt-badge {
        order: 2;
    }
    
    .producthunt-badge img {
        width: 150px !important;
        height: 32px !important;
    }
    
    .language-switcher {
        order: 1;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-title {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .top-right-container {
        top: 8px;
        right: 8px;
        left: 8px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }
    
    .producthunt-badge {
        order: 1;
        flex: 1;
    }
    
    .producthunt-badge img {
        width: 120px !important;
        height: 26px !important;
        max-width: 100%;
    }
    
    .language-switcher {
        order: 2;
        flex-shrink: 0;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .hero {
        padding-top: 80px;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: clamp(24px, 6vw, 32px);
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: clamp(16px, 4vw, 18px);
        margin-bottom: 32px;
    }
    
    .badge {
        font-size: 12px;
        padding: 5px 12px;
        margin-bottom: 24px;
    }
}

