/* Modern Reset & Variables */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --accent: #0f172a;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --text-main: #1e293b;
    --text-light: #64748b;
    --success: #10b981;
    --max-width: 1200px;
    --nav-height: 70px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.lang-switch {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-right: 1rem;
}

.lang-btn {
    background: none;
    border: 1px solid #cbd5e1;
    color: var(--text-main);
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.lang-btn:hover:not(.active) {
    background: #f1f5f9;
    color: var(--primary);
    border-color: var(--primary);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    transition: background 0.2s !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-cta-row {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.hero-cta-primary {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.hero-cta-demo {
    background: var(--success);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.hero-cta-demo:hover {
    background: #059669; /* Darker success */
}

.hero-cta-secondary {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
}

.hero-img-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.hero-screenshot {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.hero-visual {
    margin-top: 3rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #fff;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.5rem;
    font-weight: 500;
}

/* Features Grid */
.features {
    background: var(--white);
    padding: 6rem 2rem;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.pricing-section {
    background: #f8fafc;
}

.pricing-grid {
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
}

.pricing-card {
    text-align: center;
}

.pricing-card-viewer {
    border-top: 4px solid var(--secondary);
}

.pricing-card-editor {
    border-top: 4px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    z-index: 10;
}

.pricing-card-pro {
    border-top: 4px solid var(--text-main);
    position: relative;
    opacity: 0.9;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 1rem 0;
}

.plan-price-default {
    color: var(--text-main);
}

.plan-price-primary {
    color: var(--primary);
}

.plan-period {
    font-size: 1rem;
    color: var(--text-light);
}

.plan-description {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.plan-list {
    text-align: left;
    list-style: none;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.plan-list-item {
    margin-bottom: 0.5rem;
}

.plan-cta {
    display: block;
    width: 100%;
    padding: 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.plan-cta-outline {
    border: 1px solid #cbd5e1;
    color: var(--text-main);
}

.plan-cta-primary {
    background: var(--primary);
    color: white;
}

.plan-cta-muted {
    background: #e2e8f0;
    border: none;
    color: var(--text-light);
}

.plan-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--text-main);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.contact-section {
    max-width: 600px;
    margin: 3rem auto 0;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    display: none;
    transition: all 0.3s ease;
}

.contact-title {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-input {
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}

.contact-textarea {
    font-family: inherit;
}

.contact-submit {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.contact-status {
    text-align: center;
    margin-top: 1rem;
    min-height: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 12px;
    background: var(--bg-light);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-desc {
    color: var(--text-light);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Tech Specs / Trust */
.tech-trust {
    padding: 6rem 2rem;
    background: var(--accent);
    color: var(--white);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tech-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.tech-description {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.7;
}

.tech-visual-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tech-console {
    font-family: monospace;
    color: #a5b4fc;
}

.tech-label {
    color: white;
}

.tech-ok {
    color: #4ade80;
}

.tech-list {
    list-style: none;
    margin-top: 2rem;
}

.tech-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #cbd5e1;
}

.tech-list li::before {
    content: "✓";
    color: var(--success);
    margin-right: 1rem;
    font-weight: bold;
}

/* Login Section (Inline) */
.login-container {
    padding: 6rem 2rem;
    background: var(--bg-light);
    display: flex;
    justify-content: center;
}

.login-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.login-title {
    margin-bottom: 2rem;
    color: var(--text-main);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-input {
    padding: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
}

.login-submit {
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.login-error {
    color: #ef4444;
    margin-top: 1rem;
    min-height: 20px;
}

.login-toggle-row {
    margin-top: 1.5rem;
    color: var(--text-light);
}

.login-toggle-link {
    color: var(--primary);
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
}

.login-forgot-row {
    margin-top: 1rem;
}

.login-forgot-link {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: underline;
    cursor: pointer;
}

.landing-footer {
    background: var(--white);
    padding: 4rem 2rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: var(--text-light);
}

.landing-footer-title {
    color: var(--text-main);
    margin-bottom: 1rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    border-top: 1px solid #e2e8f0;
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    max-width: 800px;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.btn-accept {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.btn-decline {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Simplified for mobile */
    .tech-grid { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
}