:root {
    --primary: #2BB7A8;
    --primary-dark: #23998D;
    --gradient: linear-gradient(135deg, #5FCFC4, #2BB7A8);
    --text: #222;
    --light-gray: #f5f7f8;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: white;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   HEADER
========================= */

.main-header {
    background: white;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 45px;
}

/* NAVIGATION */

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    position: relative;
    transition: 0.2s;
}

.nav a:hover {
    color: var(--primary);
}

.nav a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

/* HEADER BUTTONS */

.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* =========================
   BUTTONS
========================= */

.btn {
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.large {
    padding: 14px 28px;
    font-size: 18px;
}

/* =========================
   HERO
========================= */

.hero {
    padding: 100px 0;
    background: var(--light-gray);
}

.hero-text h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* =========================
   FEATURES
========================= */

.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}

/* =========================
   MOCKUP
========================= */

.mockup-section {
    margin-top: -60px;
    margin-bottom: 80px;
}

.mockup-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

.mockup-placeholder {
    height: 350px;
    background: linear-gradient(135deg, #e8f8f6, #f3fffd);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 20px;
}

/* =========================
   PRICING
========================= */

.pricing {
    padding: 100px 0;
    background: #f8fbfc;
}

.pricing h2 {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.price-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.price {
    font-size: 32px;
    font-weight: 700;
    margin: 20px 0;
}

.price span {
    font-size: 16px;
    font-weight: 400;
}

/* =========================
   CTA
========================= */

.cta {
    padding: 100px 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

/* =========================
   AUTH (REGISTER / LOGIN)
========================= */

.auth-section {
    padding: 120px 0;
    background: #f8fbfc;
}

.auth-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.auth-card {
    max-width: 820px;
    margin: 0 auto;
    background: white;
    padding: 70px;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.06);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 34px;
}

.section-title {
    margin: 60px 0 25px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    padding-bottom: 10px;
    border-bottom: 2px solid #eef6f5;
}

/* GRID */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    padding: 16px;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    font-size: 15px;
    transition: 0.2s;
    background: #fafafa;
}

.form-group input:focus {
    border-color: var(--primary);
    background: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(43,183,168,0.12);
}

/* FULL WIDTH FIELD */
.full-width {
    grid-column: span 2;
}

/* PASSWORD */

.password-strength {
    height: 6px;
    background: #eee;
    border-radius: 5px;
    margin-top: 10px;
}

.strength-bar {
    height: 6px;
    width: 0%;
    border-radius: 5px;
    transition: 0.3s;
}

/* ERROR BOX */

.error-box {
    background: #fff4f4;
    border: 1px solid #ffdede;
    padding: 18px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.error {
    color: #c0392b;
    font-size: 14px;
    margin-bottom: 6px;
}

/* SUBMIT BUTTON */

.auth-card .btn-primary {
    margin-top: 50px;
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border-radius: 14px;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .auth-card {
        padding: 40px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

}

/* =========================
   FOOTER
========================= */

.main-footer {
    background: #1f1f1f;
    color: #ddd;
    padding: 60px 0 20px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col a {
    display: block;
    color: #bbb;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-col a:hover {
    color: var(--primary);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .feature-grid,
    .pricing-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
}
.auth-container {
    max-width:1080px;
    margin:0 auto;
}

.auth-card {
    background:#fff;
    padding:50px;
    border-radius:16px;
    box-shadow:0 10px 40px rgba(0,0,0,0.06);
}

.auth-card input {
    width:100%;
    padding:14px;
    margin-bottom:20px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:15px;
}

.auth-link {
    font-size:14px;
    color:var(--primary);
    text-decoration:none;
}

.auth-link:hover {
    text-decoration:underline;
}

.alert.error {
    background:#ffeaea;
    color:#c0392b;
    padding:12px;
    border-radius:8px;
    margin-bottom:20px;
}
.alert.success {
    background:#eafaf1;
    color:#27ae60;
    padding:12px;
    border-radius:8px;
    margin-bottom:20px;
}
.password-strength {
    width:100%;
    height:6px;
    background:#eee;
    border-radius:4px;
    margin-bottom:20px;
    overflow:hidden;
}

#strength-bar {
    height:100%;
    width:0%;
    transition:0.3s ease;
}
.dashboard-layout {
    display:flex;
    min-height:100vh;
    background:#f4f6f9;
}

.sidebar {
    width:240px;
    background:#111827;
    color:#fff;
    padding:30px 20px;
}

.sidebar-logo {
    font-size:20px;
    margin-bottom:30px;
}

.sidebar nav a {
    display:block;
    color:#cbd5e1;
    text-decoration:none;
    padding:10px 0;
    margin-bottom:5px;
    transition:0.2s;
}

.sidebar nav a:hover,
.sidebar nav a.active {
    color:#fff;
}

.dashboard-main {
    flex:1;
    padding:40px;
}

.dashboard-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:40px;
}

.card-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-bottom:40px;
}

.card {
    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 6px 20px rgba(0,0,0,0.05);
}

.table-card {
    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 6px 20px rgba(0,0,0,0.05);
    margin-bottom:40px;
}

.table-card table {
    width:100%;
    border-collapse:collapse;
}

.table-card th, .table-card td {
    padding:12px;
    text-align:left;
}

.badge {
    padding:6px 10px;
    border-radius:6px;
    font-size:12px;
}

.badge.success {
    background:#eafaf1;
    color:#27ae60;
}

.badge.draft {
    background:#fff4e5;
    color:#f39c12;
}

.status-card {
    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 6px 20px rgba(0,0,0,0.05);
}
/* Layout */
.app-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 240px;
    background: #111827;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 20px;
}

.sidebar-logo img {
    max-width: 140px;
    margin-bottom: 40px;
}

.sidebar-nav a {
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    color: #cbd5e1;
    margin-bottom: 8px;
    transition: 0.2s ease;
}

.sidebar-nav a:hover {
    background: #1f2937;
    color: #fff;
}

.sidebar-nav a.active {
    background: #4f46e5;
    color: #fff;
}

.sidebar-bottom .logout {
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    color: #f87171;
    transition: 0.2s ease;
}

.sidebar-bottom .logout:hover {
    background: #1f2937;
}

/* Content area */
.main-content {
    flex: 1;
    padding: 40px;
    background: #f9fafb;
}