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

:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #e8f0fe;
    --secondary: #ff6d00;
    --secondary-light: #fff3e0;
    --success: #0d904f;
    --danger: #d93025;
    --warning: #f9ab00;
    --dark: #202124;
    --gray: #5f6368;
    --gray-light: #dadce0;
    --gray-lighter: #f1f3f4;
    --white: #ffffff;
    --shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.navbar-brand .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar-nav a {
    font-weight: 500;
    color: var(--gray);
    transition: var(--transition);
}

.navbar-nav a:hover {
    color: var(--primary);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: #e65100;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--gray);
}

.btn-ghost:hover {
    background: var(--gray-lighter);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 50%, var(--secondary-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.05;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--secondary);
    border-radius: 50%;
    opacity: 0.05;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.hero-stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.hero-stat p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
    position: relative;
}

.hero-card::before {
    content: '🧺';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 4rem;
    opacity: 0.3;
}

.hero-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.hero-card .card-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-card .card-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--gray-lighter);
    border-radius: var(--radius);
}

.hero-card .card-item .item-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.hero-card .card-item .item-price {
    font-weight: 700;
    color: var(--primary);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
#services {
    background: var(--gray-lighter);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card .icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Pricing Section */
.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.pricing-toggle .toggle-btn {
    padding: 10px 30px;
    border-radius: 50px;
    border: 2px solid var(--gray-light);
    background: var(--white);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.pricing-toggle .toggle-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pricing-toggle .toggle-btn:hover:not(.active) {
    border-color: var(--primary);
    color: var(--primary);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pricing-table thead {
    background: var(--primary);
    color: var(--white);
}

.pricing-table th,
.pricing-table td {
    padding: 16px 24px;
    text-align: left;
}

.pricing-table th {
    font-weight: 600;
    font-size: 0.95rem;
}

.pricing-table tbody tr {
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition);
}

.pricing-table tbody tr:hover {
    background: var(--primary-light);
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table .price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

.pricing-table .item-icon {
    margin-right: 10px;
}

/* Areas Section */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.area-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.area-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.area-card .area-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.area-card h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.area-card p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* How It Works */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.step p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background: var(--white);
    color: var(--primary);
}

.cta-section .btn:hover {
    background: var(--gray-lighter);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--gray-light);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Alert */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
}

.alert.show {
    display: block;
}

.alert-success {
    background: #e6f4ea;
    color: var(--success);
    border: 1px solid #ceead6;
}

.alert-danger {
    background: #fce8e6;
    color: var(--danger);
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fef7e0;
    color: #e37400;
    border: 1px solid #fde293;
}

/* Login Page */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    padding: 20px;
}

.auth-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    padding: 45px;
}

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-header .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.auth-header .logo .logo-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.auth-header h1 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--gray);
    font-size: 0.95rem;
}

.auth-tabs {
    display: flex;
    background: var(--gray-lighter);
    border-radius: var(--radius);
    padding: 4px;
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    background: none;
    font-size: 0.95rem;
}

.auth-tab.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
    color: var(--gray);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--gray-light);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--gray);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-content {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background: var(--white);
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

.mobile-nav-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
}

.mobile-nav-links {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-links a {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-light);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }

    .navbar-actions .btn {
        display: none;
    }

    .nav-hamburger {
        display: block;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .auth-container {
        padding: 30px 25px;
    }

    .pricing-table {
        font-size: 0.85rem;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 12px 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility */
.text-center {
    text-align: center;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none !important;
}

/* Loading Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Dark Mode Toggle Button */
.theme-toggle {
    background: var(--gray-lighter);
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    width: 44px;
    height: 28px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    padding: 0 4px;
}

.theme-toggle::after {
    content: '☀️';
    font-size: 0.85rem;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 2px;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

[data-theme="dark"] .theme-toggle::after {
    content: '🌙';
    left: 20px;
}

[data-theme="dark"] .theme-toggle {
    background: #333;
    border-color: #555;
}

/* Dark Mode */
[data-theme="dark"] {
    --white: #1a1a2e;
    --gray-lighter: #16213e;
    --gray-light: #2a2a4a;
    --dark: #e0e0e0;
    --gray: #a0a0b0;
    --primary-light: #1a2a4a;
    --secondary-light: #2a1a0a;
    --shadow: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 3px 6px rgba(0,0,0,0.5);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.6);
}

[data-theme="dark"] body {
    background: #0f0f23;
    color: #e0e0e0;
}

[data-theme="dark"] .navbar {
    background: #1a1a2e;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #1a1a2e 100%);
}

[data-theme="dark"] .hero::before,
[data-theme="dark"] .hero::after {
    opacity: 0.03;
}

[data-theme="dark"] .hero-card {
    background: #1a1a2e;
    border: 1px solid #2a2a4a;
}

[data-theme="dark"] .hero-card .card-item {
    background: #16213e;
}

[data-theme="dark"] .service-card {
    background: #1a1a2e;
    border: 1px solid #2a2a4a;
}

[data-theme="dark"] .service-card .icon {
    background: #1a2a4a;
}

[data-theme="dark"] .pricing-table {
    background: #1a1a2e;
}

[data-theme="dark"] .pricing-table tbody tr {
    border-bottom-color: #2a2a4a;
}

[data-theme="dark"] .pricing-table tbody tr:hover {
    background: #1a2a4a;
}

[data-theme="dark"] .area-card {
    background: #1a1a2e;
    border: 1px solid #2a2a4a;
}

[data-theme="dark"] .area-card .area-icon {
    background: #1a2a4a;
}

[data-theme="dark"] .footer {
    background: #0a0a1a;
}

[data-theme="dark"] .cta-section {
    background: linear-gradient(135deg, #1a2a4a 0%, #1557b0 100%);
}

[data-theme="dark"] .auth-container {
    background: #1a1a2e;
    border: 1px solid #2a2a4a;
}

[data-theme="dark"] .auth-tab.active {
    background: #1a1a2e;
}

[data-theme="dark"] .auth-tabs {
    background: #16213e;
}

[data-theme="dark"] .pricing-toggle .toggle-btn {
    background: #1a1a2e;
    border-color: #2a2a4a;
    color: #a0a0b0;
}

[data-theme="dark"] .pricing-toggle .toggle-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

[data-theme="dark"] .mobile-nav-content {
    background: #1a1a2e;
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background: #16213e;
    border-color: #2a2a4a;
    color: #e0e0e0;
}

[data-theme="dark"] .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

[data-theme="dark"] .spinner {
    border-color: rgba(255,255,255,0.3);
    border-top-color: var(--white);
}

@media (max-width: 768px) {
    [data-theme="dark"] .hero-card {
        background: #1a1a2e;
    }
}
