/* Dictascript Website Styles */
/* Font: Montserrat | Primary Color: #002a4e */

:root {
    --color-primary: #002a4e;
    --color-primary-light: #003d6b;
    --color-secondary: #0066b3;
    --color-accent: #00b4d8;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-bg-dark: #e9ecef;
    --color-text: #1a1a1a;
    --color-text-light: #6b7280;
    --color-border: #e5e7eb;

    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --transition: all 0.2s ease;
}

/* Reset */
*, *::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(--color-text);
    background-color: var(--color-bg);
}

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

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

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

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

.btn-download {
    background: var(--color-primary);
    color: white;
    padding: 18px 36px;
    font-size: 18px;
}

.btn-download:hover {
    background: var(--color-primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
}

.badge-free {
    background: var(--color-success);
    color: white;
}

.badge-macos {
    background: var(--color-text);
    color: white;
}

.badge-offline {
    background: var(--color-accent);
    color: white;
}

.badge-free-large {
    background: var(--color-success);
    color: white;
    padding: 8px 20px;
    font-size: 14px;
}

.badge-version {
    background: var(--color-bg-dark);
    color: var(--color-text);
    padding: 8px 20px;
    font-size: 14px;
}

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

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

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

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

.logo-img {
    width: 36px;
    height: 36px;
}

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

.nav a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 15px;
}

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

.lang-switcher {
    display: flex;
    gap: 4px;
}

.lang-btn {
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-family);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    color: var(--color-text-light);
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* Dev Banner */
.dev-banner {
    background: linear-gradient(135deg, var(--color-warning) 0%, #d97706 100%);
    color: white;
    padding: 12px 0;
    margin-top: 72px;
}

.dev-banner .container {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.dev-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.dev-banner p {
    font-size: 14px;
    font-weight: 500;
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
    text-align: center;
}

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

.hero-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 32px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--color-text-light);
    margin-bottom: 28px;
}

.hero-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

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

/* Features Section */
.features {
    padding: 100px 0;
}

.features h2,
.audience h2,
.how-it-works h2,
.requirements h2,
.download h2,
.feedback h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 60px;
}

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

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

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    color: var(--color-primary);
}

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

.feature-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Audience Section */
.audience {
    padding: 100px 0;
    background: var(--color-bg-alt);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.audience-card {
    padding: 24px 16px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

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

.audience-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: 50%;
    color: var(--color-secondary);
}

.audience-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.audience-card p {
    font-size: 12px;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: white;
    font-size: 28px;
    font-weight: 700;
    border-radius: 50%;
}

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

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

.step-arrow {
    display: flex;
    align-items: center;
    padding-top: 52px;
    color: var(--color-border);
}

/* Requirements Section */
.requirements {
    padding: 100px 0;
    background: var(--color-bg-alt);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.requirement {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
}

.requirement-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    color: var(--color-primary);
}

.requirement-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.requirement-text strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.requirement-text span {
    font-size: 13px;
    color: var(--color-text-light);
}

/* Download Section */
.download {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    text-align: center;
}

.download h2 {
    color: white;
}

.download-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    margin-top: -40px;
}

.download-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

.download-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 24px;
}

/* Feedback Section */
.feedback {
    padding: 100px 0;
}

.feedback-content {
    max-width: 600px;
    margin: 0 auto;
}

.feedback-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 48px;
    margin-top: -40px;
}

.feedback-form {
    background: var(--color-bg-alt);
    padding: 40px;
    border-radius: var(--radius-lg);
}

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

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-family);
    font-size: 15px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.1);
}

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

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

/* Footer */
.footer {
    background: var(--color-primary);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.footer-name {
    font-size: 20px;
    font-weight: 700;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
}

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

.footer-lang span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    display: block;
}

.lang-switcher-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lang-btn-footer {
    padding: 6px 12px;
    font-size: 12px;
    font-family: var(--font-family);
    font-weight: 500;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.8);
}

.lang-btn-footer:hover,
.lang-btn-footer.active {
    background: white;
    border-color: white;
    color: var(--color-primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

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

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

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

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        height: auto;
        padding: 16px 0;
        gap: 16px;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    .lang-switcher {
        order: 2;
    }

    .dev-banner {
        margin-top: 120px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
    }

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

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

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-arrow {
        display: none;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .lang-switcher-footer {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .features h2,
    .audience h2,
    .how-it-works h2,
    .requirements h2,
    .download h2,
    .feedback h2 {
        font-size: 28px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

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

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

    .feedback-form {
        padding: 24px;
    }
}

/* Download Size */
.download-size {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
    margin-bottom: 8px;
}

/* Installation Note */
.install-note {
    max-width: 500px;
    margin: 40px auto 0;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    text-align: left;
}

.install-note h4 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.install-note > p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    line-height: 1.5;
}

.install-note ol {
    padding-left: 20px;
    margin: 0;
}

.install-note li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    line-height: 1.5;
}

.install-note li:last-child {
    margin-bottom: 0;
}

/* Terminal Install */
.install-terminal {
    max-width: 500px;
    margin: 24px auto 0;
    padding: 24px 32px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    text-align: left;
}

.install-terminal h4 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.install-terminal > p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    line-height: 1.5;
}

.terminal-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1a1a2e;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    overflow-x: auto;
}

.terminal-box code {
    flex: 1;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 13px;
    color: #00ff88;
    white-space: nowrap;
}

.copy-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    color: white;
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.copy-btn.copied {
    background: var(--color-success);
    color: white;
}

.terminal-note {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-top: 12px;
    margin-bottom: 0 !important;
}
