:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 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);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.hero-text h1, .section-title h2, .brand, .p-text h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

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

/* --- Header --- */
.site-header {
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}

.logo-sq {
    background: linear-gradient(135deg, var(--primary), #6366f1);
    color: white;
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.desktop-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.desktop-nav a:not(.btn) {
    color: var(--text-main);
}

.desktop-nav a:not(.btn):hover { 
    opacity: 1;
    color: var(--primary);
    transform: translateY(-1px);
}

.desktop-nav .btn {
    opacity: 1;
    color: white !important; /* Force white for Sign Up button */
}

.desktop-nav .btn-primary {
    background: var(--primary);
    font-weight: 700;
}

.desktop-nav .btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 6px rgba(79, 70, 229, 0.15);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.25);
}

.btn-outline {
    background: white;
    border-color: var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--bg-alt);
    transform: translateY(-1px);
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; border-radius: 9px; }
.btn-full { width: 100%; }

/* --- Hero --- */
.hero-light {
    padding-top: 160px;
    padding-bottom: 120px;
    background: 
        radial-gradient(circle at 100% 0%, rgba(79, 70, 229, 0.08), transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(79, 70, 229, 0.05), transparent 40%);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--text-main);
}

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

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 40px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 32px;
}

.dot {
    width: 6px; height: 6px;
    background: #10b981;
    border-radius: 50%;
}

/* --- Cards --- */
.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.product-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.product-info {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: center;
}

.p-icon {
    font-size: 1.5rem;
    min-width: 48px; height: 48px;
    background: var(--bg-alt);
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
}

.p-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.p-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Sections --- */
section { padding: 100px 0; }
section:nth-child(even) { background: var(--bg-alt); }

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-title p { color: var(--text-muted); font-size: 1.1rem; }

/* Contact */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-item {
    padding: 32px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border);
}

/* --- Footer --- */
.site-footer {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    background: white;
}

.footer-grid {
    display: flex; justify-content: space-between;
    align-items: center;
}

.footer-nav a {
    margin-left: 24px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Utilities --- */
.toast {
    position: fixed;
    bottom: 32px; left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-main);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2000;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show { transform: translateX(-50%) translateY(0); }

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .hero-layout { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 2.75rem; }
    .hero-text p { margin-inline: auto; }
}
