:root {
    --bg-dark: #1e1e24;
    /* Anthracite */
    --bg-card: #25252b;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0a0;
    --accent-gold: #d4af37;
    --accent-emerald: #50c878;
    --font-main: 'Poppins', sans-serif;
    --border-radius: 20px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232c3e50' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    /* Subtle pattern */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

.accent-gold {
    color: var(--accent-gold);
}

.accent-emerald {
    color: var(--accent-emerald);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    background: rgba(30, 30, 36, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    /* Adjust based on preference */
    width: auto;
    object-fit: contain;
}

/* Auth Logo */
.auth-logo-link {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.auth-logo-img {
    height: 80px;
    width: auto;
}

/* Sidebar Logo */
.sidebar-logo-link {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.sidebar-logo-img {
    height: 60px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    color: var(--text-primary);
}

.nav-link:hover {
    color: var(--accent-gold);
}

.btn-gold {
    background: var(--accent-gold);
    color: #1e1e24;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-gold:hover {
    background: #c5a028;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('assets/hero-bg.png') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(30, 30, 36, 0.7), rgba(30, 30, 36, 1));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-emerald);
    color: #fff;
    box-shadow: 0 4px 15px rgba(80, 200, 120, 0.4);
}

.btn-primary:hover {
    background-color: #3bb363;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(80, 200, 120, 0.6);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Card Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-gold);
}

.card-image-wrapper {
    height: 250px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-image {
    transform: scale(1.1);
}

.card-content {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.card-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--accent-emerald);
    font-weight: 600;
    font-size: 0.9rem;
}

.link-arrow::after {
    content: '→';
    margin-left: 0.5rem;
    transition: margin-left 0.3s ease;
}

.link-arrow:hover::after {
    margin-left: 0.8rem;
}

/* Footer */
.footer {
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .nav-list {
        display: none;
        /* Mobile menu to be implemented if needed */
    }
}

/* Floating WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Authentication Page */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    padding: 1rem;
}

.auth-box {
    background: rgba(37, 37, 43, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.auth-logo {
    display: block;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.auth-title {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: white;
    color: #333;
    padding: 0.8rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    /* Removed duplicate */
    gap: 10px;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.btn-google:hover {
    background: #f1f1f1;
}

.btn-google img {
    width: 20px;
    height: 20px;
}

.divider {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.divider span {
    padding: 0 1rem;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.phone-input {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.phone-input .country-code {
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent-gold);
    font-weight: 600;
}

.phone-input input {
    border: none;
    background: transparent;
    border-radius: 0;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-style: italic;
}

.btn-block {
    width: 100%;
    margin-top: 1rem;
}

.auth-footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent-gold);
}

/* Configurator Styles */
.configurator-main {
    padding-top: 100px;
    min-height: 100vh;
}

.stepper-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-secondary);
    z-index: 1;
}

.step-indicator.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-dark);
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--text-secondary);
    margin: 0 -5px;
}

.config-form {
    max-width: 800px;
    margin: 0 auto 5rem auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-title {
    font-size: 1.8rem;
    color: var(--accent-emerald);
    margin-bottom: 0.5rem;
}

.step-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.checkbox-grid,
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.checkbox-card,
.radio-card {
    cursor: pointer;
    position: relative;
}

.checkbox-card input,
.radio-card input {
    position: absolute;
    opacity: 0;
}

.checkbox-content,
.radio-content {
    display: block;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.checkbox-card input:checked+.checkbox-content,
.radio-card input:checked+.radio-content {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    font-weight: 600;
}

.form-controls {
    margin-top: 3rem;
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-secondary);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

/* Summary Box */
.summary-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.summary-content p {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-content strong {
    color: var(--accent-gold);
}

/* Dashboard Styles */
.dashboard-page {
    background: var(--bg-dark);
}

.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.dashboard-sidebar {
    width: 280px;
    background: var(--bg-card);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
}

.sidebar-logo {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    display: block;
}

.sidebar-nav ul li {
    margin-bottom: 1rem;
}

.sidebar-nav a {
    display: block;
    padding: 1rem;
    border-radius: 10px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-gold);
}

.dashboard-content {
    flex: 1;
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--accent-emerald);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.dashboard-panel {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
}

/* Table Styles */
.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th,
.history-table td {
    padding: 1.5rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.history-table th {
    color: var(--text-secondary);
    font-weight: 600;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.pending {
    background: rgba(255, 204, 0, 0.2);
    color: #ffcc00;
}

.status-badge.confirmed {
    background: rgba(80, 200, 120, 0.2);
    color: var(--accent-emerald);
}

.status-badge.completed {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: 5px;
}