/* TassuTie Landing Page Styles */

/* ===================================================================
   Reset & Base
   =================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===================================================================
   Header Navigation
   =================================================================== */

.header {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #1976d2;
}
.header-logo-icon {
    font-size: 1.5rem;
}
.header-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
}
.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.header-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
}
.header-nav a:hover {
    color: #1976d2;
}
.header-cta {
    background: #1976d2;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}
.header-cta:hover {
    background: #1565c0;
    color: white;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}
.mobile-menu {
    position: absolute;
    top: 100%;
    right: 1.5rem;
    left: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
    padding: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 200;
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
}
.mobile-menu a:hover {
    background: #f2f6ff;
    color: #1976d2;
}
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 150;
}
.mobile-menu.is-open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}
.mobile-menu-overlay.is-open {
    display: block;
    opacity: 1;
}

/* ===================================================================
   Language Toggle
   =================================================================== */

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 1rem;
}
.lang-btn {
    background: none;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    color: #999;
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.lang-btn:hover {
    color: #1976d2;
}
.lang-btn.active {
    color: #1976d2;
    background: #e3f2fd;
}
.lang-separator {
    color: #ccc;
    font-size: 0.85rem;
    user-select: none;
}

/* FOUC prevention */
.i18n-loading [data-i18n],
.i18n-loading [data-i18n-html] {
    visibility: hidden;
}

/* ===================================================================
   Beta Banner
   =================================================================== */

.beta-banner {
    background: linear-gradient(135deg, #1976d2 0%, #7c4dff 100%);
    color: white;
    padding: 1rem 0;
    text-align: center;
}
.beta-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.beta-badge {
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}
.beta-text {
    font-size: 1rem;
    font-weight: 500;
}
.beta-text strong {
    font-weight: 700;
}
.beta-cta {
    background: white;
    color: #1976d2;
    padding: 0.4rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.2s;
}
.beta-cta:hover {
    transform: translateY(-1px);
}

/* ===================================================================
   Hero Section
   =================================================================== */

.hero {
    background: linear-gradient(135deg, #e8f5e9 0%, #e3f2fd 100%);
    padding: 4rem 0;
}
.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.hero-text {
    flex: 1;
    min-width: 300px;
}
.hero-image {
    flex: 1;
    min-width: 300px;
}
.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.logo-icon {
    font-size: 2rem;
}
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1976d2;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}
.hero-desc {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1rem;
}

/* ===================================================================
   Buttons
   =================================================================== */

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
    transform: translateY(-2px);
}
.btn-primary {
    background: #1976d2;
    color: white;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}
.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.4);
}
.btn-outline {
    background: white;
    color: #1976d2;
    border: 2px solid #1976d2;
}

/* ===================================================================
   Pain Points Section
   =================================================================== */

.pain-points {
    padding: 5rem 0;
    background: #fff;
}
.pain-points-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}
.pain-points-text {
    flex: 1;
    min-width: 300px;
}
.pain-points-text h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}
.pain-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.pain-card {
    position: relative;
    padding: 1.25rem 1.25rem 1.25rem 1.5rem;
    border-left: 4px solid #1976d2;
    background: #f8f9fa;
    border-radius: 0 10px 10px 0;
}
.pain-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}
.pain-card p {
    color: #444;
    font-size: 1rem;
    line-height: 1.5;
    font-style: italic;
}
.pain-detail {
    font-style: normal !important;
    color: #888 !important;
    font-size: 0.9rem !important;
    margin-top: 0.25rem;
}
.pain-transition {
    margin-top: 2rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1976d2;
}
.pain-points-image {
    flex: 1;
    min-width: 300px;
}
.pain-points-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.pain-cta {
    margin-top: 2rem;
}

/* ===================================================================
   Feature Highlights (large image+text blocks)
   =================================================================== */

.feature-highlights {
    padding: 5rem 0 2rem;
}
.section-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2rem;
}
.section-desc {
    text-align: center;
    color: #666;
    max-width: 600px;
    margin: 0 auto 3rem;
}
.feature-highlight {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}
.feature-highlight:last-child {
    margin-bottom: 2rem;
}
.feature-highlight:nth-child(even) {
    flex-direction: row-reverse;
}
.feature-highlight-text {
    flex: 1;
    min-width: 280px;
}
.feature-highlight-text h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}
.feature-highlight-text p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}
.feature-highlight-image {
    flex: 1;
    min-width: 280px;
}
.feature-highlight-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* ===================================================================
   Small Features Grid
   =================================================================== */

.features-small {
    padding: 2rem 0 5rem;
}
.features-small .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.features-small-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.features-small-grid .feature-card {
    padding: 1.5rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: box-shadow 0.2s;
}
.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.feature-icon {
    width: 48px;
    height: 48px;
    background: #e3f2fd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.feature-card h3 {
    margin-bottom: 0.5rem;
}
.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ===================================================================
   Mid-page CTA
   =================================================================== */

.mid-cta {
    padding: 3rem 0;
    text-align: center;
    background: #f0f7ff;
}
.mid-cta-text {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* ===================================================================
   Pricing Section
   =================================================================== */

.pricing {
    background: #f8f9fa;
    padding: 5rem 0;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    align-items: stretch;
}
.pricing-grid > * {
    height: 100%;
}
.pricing-card {
    background: white;
    padding: 2rem;
    padding-bottom: 5rem;
    border-radius: 12px;
    border: 1px solid #eee;
    text-align: center;
    position: relative;
}
.pricing-card.highlighted {
    border: 2px solid #1976d2;
    position: relative;
}
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #1976d2;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1976d2;
    margin: 1rem 0;
}
.pricing-price span {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}
.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}
.pricing-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}
.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}
.pricing-card .btn {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    text-align: center;
}
.pricing-card .cta-note {
    position: absolute;
    bottom: 0.9rem;
    left: 2rem;
    right: 2rem;
    font-size: 0.8rem;
    color: #777;
}
.coming-soon {
    color: #999;
    font-style: italic;
}

/* ===================================================================
   CTA Section
   =================================================================== */

.cta {
    padding: 5rem 0;
    text-align: center;
}
.cta-box {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    max-width: 600px;
    margin: 0 auto;
}
.cta-box h2 {
    margin-bottom: 1rem;
}
.cta-box p {
    opacity: 0.9;
    margin-bottom: 2rem;
}
.cta-box .btn-primary {
    background: white;
    color: #1976d2;
}

/* ===================================================================
   About Section
   =================================================================== */

.about {
    padding: 5rem 0;
    background: #f8f9fa;
}
.about-content {
    max-width: 900px;
    margin: 0 auto;
}
.about-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    text-align: center;
}
.about-logo {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}
.about-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1976d2;
}
.about-box p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
.trust-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}
.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.trust-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}
.trust-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===================================================================
   Footer
   =================================================================== */

footer {
    background: #263238;
    color: white;
    padding: 2rem 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-links {
    display: flex;
    gap: 1.5rem;
}
.footer-links a {
    color: #90a4ae;
    text-decoration: none;
}
.footer-links a:hover {
    color: white;
}
.footer-copy {
    color: #90a4ae;
    font-size: 0.9rem;
}

/* ===================================================================
   Waitlist Modal
   =================================================================== */

body.modal-open {
    overflow: hidden;
}
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1000;
}
.modal[aria-hidden="false"] {
    display: flex;
}
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.6);
}
.modal-dialog {
    position: relative;
    background: white;
    border-radius: 14px;
    width: 100%;
    max-width: 520px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    z-index: 1;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.modal-title {
    font-size: 1.4rem;
    color: #1976d2;
}
.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #555;
}
.modal-form {
    display: grid;
    gap: 1rem;
}
.modal-form label {
    font-weight: 600;
    font-size: 0.95rem;
}
.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}
.modal-form textarea {
    min-height: 90px;
    resize: vertical;
}
.modal-gdpr {
    font-size: 0.85rem;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
}
.modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.modal-success {
    text-align: center;
    background: #e8f5e9;
    color: #1b5e20;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
}

/* ===================================================================
   Responsive
   =================================================================== */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .hero { padding: 2rem 0; }
    .hero-content { flex-direction: column-reverse; }
    .features, .pricing, .cta { padding: 3rem 0; }
    .header-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .header {
        position: sticky;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .pain-points { padding: 3rem 0; }
    .pain-points-content { flex-direction: column; }
    .pain-points-text h2 { font-size: 1.6rem; }
    .feature-highlights { padding: 3rem 0 1rem; }
    .feature-highlight {
        flex-direction: column !important;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    .features-small { padding: 1rem 0 3rem; }
}
