/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0a0a0a;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    overscroll-behavior-x: none;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: none;
}

.nav-pill {
    display: flex;
    gap: 4px;
    background: #0a0a0a;
    border-radius: 999px;
    padding: 12px 32px;
    pointer-events: auto;
    box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.18);
}

.nav-link {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 14px;
    border-radius: 999px;
    transition: opacity 0.2s;
}

/* ===== LANGUAGE SELECTOR ===== */
.lang-selector {
    position: relative;
    margin-left: 8px;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    font-weight: 600;
    font-family: inherit;
    padding: 4px 10px;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: #ffffff;
    border-color: rgba(255,255,255,0.5);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 6px;
    min-width: 56px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.lang-dropdown.open {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lang-option {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    text-align: center;
    letter-spacing: 0.5px;
}

.lang-option:hover {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
}

.lang-option.active {
    color: #ffffff;
    background: rgba(255,255,255,0.12);
}

.nav-link:hover {
    opacity: 0.75;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 999px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-align: center;
    white-space: nowrap;
}

.btn-dark {
    background: #0a0a0a;
    color: #ffffff;
    box-shadow: 1px 4px 6px rgba(0, 0, 0, 0.18);
}

.btn-dark:hover {
    background: #333;
}

.btn-outline {
    background: #ffffff;
    color: #1a1a1a;
    border: 1.5px solid #d0d0d0;
}

.btn-outline:hover {
    border-color: #999;
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 48px;
    align-items: center;
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -2px;
    color: #0a0a0a;
    text-shadow: 1px 4px 6px rgba(0, 0, 0, 0.18);
}

.hero-subtitle {
    margin-top: 16px;
    font-size: 20px;
    color: #666;
    font-weight: 500;
    letter-spacing: -0.2px;
    text-shadow: 1px 4px 6px rgba(0, 0, 0, 0.18);
}

#sync-type {
    display: inline;
}

.sync-cursor {
    display: inline-block;
    font-weight: 300;
    color: #0a0a0a;
    animation: cursorBlink 0.8s step-end infinite;
    margin-left: 1px;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-buttons {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    max-width: 260px;
}

.hero-image {
    position: relative;
    margin-top: 60px;
    margin-right: -80px;
}

.hero-img-blur {
    position: absolute;
    top: 30px;
    left: 20px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    filter: blur(30px);
    opacity: 0.5;
    z-index: 0;
    transform: scale(1.05) translate3d(0, 0, 0);
    -webkit-transform: scale(1.05) translate3d(0, 0, 0);
    will-change: transform, filter;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.hero-img-main-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 14px;
    overflow: hidden;
}

.hero-img-main {
    display: block;
    width: calc(100% + 2px);
    margin: -1px;
    height: auto;
}

/* ===== TOOLS SECTION ===== */
.tools-section {
    padding: 80px 0;
    scroll-margin-top: 80px;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 72px;
    align-items: center;
}

.terminal-window {
    background: #0c0c0c;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 480px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    font-family: Consolas, 'Courier New', monospace;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    text-shadow: 1px 4px 6px rgba(0, 0, 0, 0.18);
}

.section-desc {
    margin-top: 20px;
    font-size: 16px;
    color: #666;
    line-height: 1.7;
}

.tools-text .btn {
    margin-top: 32px;
    padding: 14px 32px;
    font-size: 16px;
}

/* ===== STORE BADGE ===== */
/* ===== PRICING ===== */
.pricing-section {
    padding: 80px 0;
    text-align: center;
}

.pricing-content {
    max-width: 720px;
    margin: 0 auto;
}

.pricing-title {
    margin-bottom: 48px;
}

.pricing-steps {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 40px;
}

.pricing-step {
    flex: 1;
    max-width: 200px;
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #0a0a0a;
    color: #ffffff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-text {
    font-size: 15px;
    font-weight: 600;
    color: #0a0a0a;
    margin-bottom: 4px;
}

.step-detail {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}

.pricing-offer {
    margin-bottom: 32px;
}

.pricing-badge {
    display: inline-block;
    background: #0a0a0a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 0 auto;
}

.pricing-original {
    font-size: 20px;
    font-weight: 500;
    color: #bbb;
    text-decoration: line-through;
    text-decoration-color: rgba(0,0,0,0.2);
}

.pricing-current {
    font-size: 56px;
    font-weight: 800;
    color: #0a0a0a;
    letter-spacing: -2px;
    line-height: 1;
}

.pricing-save {
    margin-top: 12px;
    font-size: 14px;
    color: #0a0a0a;
    font-weight: 600;
}

.pricing-timer {
    margin-top: 12px;
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

.pricing-timer strong {
    color: #0a0a0a;
    font-weight: 700;
}

.pricing-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 20px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.pricing-note {
    font-size: 13px;
    color: #999;
}

.pricing-install-help {
    margin-top: 8px;
    font-size: 12px;
    color: #999;
}

.pricing-install-help a {
    color: #999;
    text-decoration: underline;
    transition: color 0.2s;
}

.pricing-install-help a:hover {
    color: #666;
}

.pricing-enterprise {
    margin-top: 6px;
    font-size: 12px;
    color: #999;
}

.pricing-enterprise a {
    color: #999;
    text-decoration: underline;
    transition: color 0.2s;
}

.pricing-enterprise a:hover {
    color: #666;
}

/* ===== FEATURES ===== */
.features-section {
    padding: 64px 0;
}

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

.feature-card {
    background: #f5f5f5;
    border: none;
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    background: #efefef;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature-stat {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #0a0a0a;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 10px;
}

.feature-title {
    font-size: 15px;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.feature-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.65;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 80px 0;
    scroll-margin-top: 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
}

.contact-text .section-title {
    font-size: 32px;
}

.contact-form-wrapper {
    background: #f5f5f5;
    border-radius: 20px;
    padding: 48px 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #0a0a0a;
    margin-bottom: 8px;
    letter-spacing: -0.1px;
}

.form-group input,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 14px 0;
    border: none;
    border-bottom: 1.5px solid #d0d0d0;
    border-radius: 0;
    background: transparent;
    color: #0a0a0a;
    outline: none;
    transition: border-color 0.2s;
    resize: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #0a0a0a;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bbb;
    font-weight: 400;
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: 12px;
}

.form-status {
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
}

.form-status.success {
    color: #34d399;
}

.form-status.error {
    color: #ef4444;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid #e8e8e8;
    padding: 56px 0 48px;
    margin-top: 40px;
}

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

.footer-logo {
    font-size: 20px;
    font-weight: 700;
    text-shadow: 1px 4px 6px rgba(0, 0, 0, 0.18);
}

.footer-tagline {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}

.footer-email {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    color: #666;
    text-decoration: underline;
}

.footer-email:hover {
    color: #1a1a1a;
}

.footer-social {
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: color 0.2s;
}

.social-link:hover {
    color: #1a1a1a;
}

.footer-right {
    text-align: right;
}

.footer-heading {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 1px 4px 6px rgba(0, 0, 0, 0.18);
}

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

.footer-links a {
    font-size: 14px;
    color: #666;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #1a1a1a;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 960px) {
    /* --- Hero --- */
    .hero {
        padding: 130px 0 64px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
        text-align: center;
    }

    .hero-image {
        order: -1;
        margin-top: 0;
        margin-right: 0;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-img-blur {
        top: 10px;
        left: 10px;
        opacity: 0.35;
        transform: scale(1.03) translate3d(0, 0, 0);
        -webkit-transform: scale(1.03) translate3d(0, 0, 0);
    }

    .hero-buttons {
        justify-content: center;
        max-width: none;
    }

    .hero-title {
        font-size: 52px;
    }

    .hero-subtitle {
        font-size: 21px;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }

    /* --- Tools --- */
    .tools-section {
        padding: 64px 0;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .terminal-window {
        margin: 0 auto;
        max-width: 520px;
        text-align: left;
    }

    .tools-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 560px;
        margin: 0 auto;
    }

    .tools-text .btn {
        margin-top: 28px;
    }

    .section-title {
        font-size: 40px;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .section-desc {
        font-size: 16px;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    /* --- Pricing --- */
    .pricing-section {
        padding: 64px 0;
    }



    /* --- Contact --- */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-text {
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 48px;
        width: 100%;
    }

    .contact-form .btn {
        align-self: flex-start;
    }

    .form-group label {
        text-align: left;
    }

    /* --- Footer --- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-right {
        text-align: left;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .hero {
        padding: 120px 0 48px;
    }

    .hero-grid {
        gap: 64px;
    }

    .hero-image {
        max-width: 100%;
    }

    .hero-img-blur {
        display: block;
        top: 15px;
        left: 10px;
        transform: scale(1.04) translate3d(0, 0, 0);
        -webkit-transform: scale(1.04) translate3d(0, 0, 0);
        filter: blur(25px);
        opacity: 0.4;
    }

    .hero-title {
        font-size: 52px;
    }

    .hero-subtitle {
        font-size: 20px;
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 260px;
        text-align: center;
        padding: 14px 28px;
        font-size: 15px;
    }

    .section-title {
        font-size: 44px;
        line-height: 1.1;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .section-desc {
        font-size: 17px;
        font-weight: 500;
        line-height: 1.65;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .tools-section {
        padding: 64px 0;
    }

    .pricing-section {
        padding: 64px 0;
    }

    .pricing-steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .pricing-step {
        max-width: 280px;
    }

    .pricing-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .pricing-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .tools-grid {
        gap: 56px;
    }

    .features-section {
        padding: 40px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 400px;
        margin: 0 auto;
    }

    .feature-card {
        padding: 28px 24px;
    }

    .feature-card:hover {
        transform: none;
        box-shadow: none;
    }

    .feature-card.desktop-only {
        display: none;
    }

    .contact-grid {
        gap: 32px;
    }

    .contact-text .section-title {
        font-size: 32px;
        max-width: none;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
        width: 100%;
    }

    .contact-form .btn {
        align-self: flex-start;
    }

    .terminal-window {
        min-height: 380px;
        max-width: 100%;
    }

    .terminal-window .tl {
        white-space: normal;
        word-break: break-word;
        font-size: 12px;
    }

    .tools-section {
        scroll-margin-top: -260px;
    }

    .nav-pill {
        padding: 8px 20px;
    }

    .nav-link {
        font-size: 13px;
        padding: 4px 10px;
    }

    .lang-btn {
        font-size: 10px;
        padding: 3px 8px;
    }

    .lang-selector {
        margin-left: 4px;
    }

    .container {
        padding: 0 16px;
    }
}
