/* GLOBAL RESETS & VARIABLES */
:root {
    --navy-dark: #0F172A;
    --navy-main: #1E293B;
    --cyan-main: #06B6D4;
    --cyan-hover: #0891B2;
    --bg-light: #F8FAFC;
    --card-bg: #FFFFFF;
    --text-main: #334155;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVBAR */
.navbar {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    background-color: var(--navy-main);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-check {
    color: var(--cyan-main);
    font-weight: bold;
    font-size: 20px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
}

.logo-text .navy { color: var(--navy-main); }
.logo-text .cyan { color: var(--cyan-main); }
.logo-text .domain { color: var(--text-muted); font-size: 14px; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--cyan-main);
}

.btn-primary {
    background-color: var(--navy-main);
    color: white;
    padding: 10px 22px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: var(--navy-dark);
}

/* HERO SECTION */
.hero {
    padding: 60px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content { flex: 1; }

.hero-content h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--navy-main);
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-content .highlight { color: var(--navy-dark); }

.hero-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.btn-cyan-lg {
    display: inline-block;
    background-color: var(--cyan-main);
    color: white;
    padding: 14px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.2s, transform 0.2s;
}

.btn-cyan-lg:hover {
    background-color: var(--cyan-hover);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card-mockup-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--navy-main);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* PRODUCTS SECTION */
.products-section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 28px;
    color: var(--navy-main);
    font-weight: 700;
}

.section-title p {
    color: var(--text-muted);
    font-size: 15px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
}

.card-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.06);
}

.card-media {
    position: relative;
    height: 140px;
    background-color: #E2E8F0;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--navy-main);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}

.card-tag.cyan-tag {
    background-color: var(--cyan-main);
}

.card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 {
    font-size: 16px;
    color: var(--navy-main);
    font-weight: 700;
}

.card-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    height: 32px;
}

.card-footer-info {
    margin-bottom: 14px;
}

.price {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-main);
}

.price small {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
}

.btn-add-cart {
    width: 100%;
    background-color: var(--cyan-main);
    color: white;
    border: none;
    padding: 10px 0;
    border-radius: 6px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-add-cart:hover {
    background-color: var(--cyan-hover);
}

/* FOOTER CTA */
.footer-cta {
    background-color: var(--navy-main);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.footer-content h2 {
    font-size: 26px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid #334155;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 13px;
}

.legal-links a:hover {
    color: white;
}

.copyright {
    color: #64748B;
    font-size: 12px;
}

/* Auth Forms */
.auth-container {
    max-width: 500px;
    margin: 50px auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.auth-container h2 {
    margin-bottom: 20px;
    color: var(--navy-main);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-family);
}

.btn-block {
    width: 100%;
    padding: 12px;
    background: var(--cyan-main);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
}

.btn-block:hover {
    background: var(--cyan-hover);
}

.error { color: red; margin-bottom: 15px; }
.success { color: green; margin-bottom: 15px; }