
:root {
    --primary: #8A2BE2;
    --secondary: #00FFFF;
    --accent: #FF00FF;
    --bg-dark: #050510;
    --bg-card: rgba(20, 20, 35, 0.6);
    --bg-card-hover: rgba(30, 30, 50, 0.8);
    --text-main: #ffffff;
    --text-muted: #a0a0b0;
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --gradient-primary: linear-gradient(45deg, var(--primary), var(--secondary));
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Background Glows */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.bg-glow-1 { top: -200px; left: -200px; }
.bg-glow-2 { bottom: -200px; right: -200px; background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, rgba(0,0,0,0) 70%); }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

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

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(20, 20, 35, 0.95);
    backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 10px;
    min-width: 220px;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-item i {
    color: var(--secondary);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.dropdown-item span {
    font-size: 0.95rem;
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(138, 43, 226, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--secondary);
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary);
    animation: pulse 2s infinite;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

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

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

/* Domain Search */
.domain-search-container {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 15px;
    border: var(--glass-border);
}

.domain-search-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.domain-search-form input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    outline: none;
}

.domain-search-form input:focus {
    border-color: var(--primary);
}

.domain-extensions {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero Visual (3D Placeholder) */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dino-3d-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
}

.floating-earth {
    font-size: 15rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(138, 43, 226, 0.5));
    animation: float 6s ease-in-out infinite;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 { width: 400px; height: 400px; border-style: dashed; animation: spin 20s linear infinite; }
.orbit-2 { width: 550px; height: 550px; border-color: rgba(255, 255, 255, 0.05); animation: spin 30s linear reverse infinite; }

.floating-card {
    position: absolute;
    background: rgba(20, 20, 35, 0.9);
    padding: 15px 25px;
    border-radius: 15px;
    border: var(--glass-border);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: float 5s ease-in-out infinite;
}

.card-1 { top: 20%; right: -50px; animation-delay: 1s; }
.card-2 { bottom: 20%; left: -50px; animation-delay: 2s; }

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

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

/* --- Mega Services Grid --- */
.mega-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* Tablet: 2 Columns with Span */
@media (max-width: 1024px) {
    .mega-services {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Make the 3rd column (Domains/Email) span full width */
    .service-category:nth-child(3) {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr; /* Split internal content into 2 cols */
        gap: 30px;
    }
    
    /* Handle the internal headers/lists in the spanned column */
    /* Since structure is H3, DIV, H3, DIV, we can't easily grid them without wrapper */
    /* So we'll just keep it vertical or try to float? Vertical is safer for now. */
    /* Reverting the internal grid idea for simplicity unless requested */
    .service-category:nth-child(3) {
        display: block; /* Keep standard block layout */
    }
}

.service-category h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.3s ease;
    cursor: pointer;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.service-icon {
    margin-top: 3px;
    color: var(--text-main);
}

.service-info {
    flex: 1;
}

.service-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.service-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* Badges */
.badge-tag {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-ai {
    background: rgba(138, 43, 226, 0.2);
    color: #ae6eff;
    border: 1px solid rgba(138, 43, 226, 0.4);
}

.badge-popular {
    background: rgba(114, 137, 218, 0.2);
    color: #7289da;
    border: 1px solid rgba(114, 137, 218, 0.4);
}

.badge-new {
    background: rgba(0, 255, 127, 0.1);
    color: #00ff7f;
    border: 1px solid rgba(0, 255, 127, 0.3);
}

/* Migration Box */
.migration-box {
    grid-column: 1 / -1;
    background: linear-gradient(90deg, rgba(20, 20, 35, 0.8), rgba(138, 43, 226, 0.1));
    border: var(--glass-border);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.migration-content h4 {
    margin-bottom: 5px;
}

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

/* Language Switcher */
.lang-switcher {
    position: relative;
    cursor: pointer;
    margin-left: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-main);
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(20, 20, 35, 0.95);
    border: var(--glass-border);
    border-radius: 10px;
    padding: 10px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow);
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
    color: var(--text-muted);
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.lang-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

/* Pricing Specifics */
.pricing-section {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glass-shadow);
    background: var(--bg-card-hover);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pricing-card .card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    min-height: 40px;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.toggle-label {
    font-weight: 600;
    color: var(--text-muted);
}

.toggle-label.active {
    color: var(--secondary);
}

/* Switch Slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    line-height: 1;
}

.price .currency {
    font-size: 1.5rem;
    margin-top: 5px;
}

.price .period {
    font-size: 1rem;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 5px;
    margin-left: 5px;
}

.features-list {
    margin-bottom: 30px;
    flex: 1;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.features-list li i {
    color: #00ff7f;
}

/* Glass Effect Helper */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Emulator Preview Section */
.emulator-preview {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, rgba(138, 43, 226, 0.05));
}

.emulator-preview .row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.col-text { flex: 1; }
.col-visual { flex: 1; display: flex; justify-content: center; }

.feature-list {
    margin: 30px 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.feature-list i { color: var(--secondary); }

.mockup-device {
    width: 300px;
    height: 600px;
    border: 10px solid #2a2a2a;
    border-radius: 40px;
    background: #000;
    position: relative;
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.2);
}

.device-screen {
    width: 100%;
    height: 100%;
    background: #1a1a2e;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

/* Chatbot Widget */
.chatbot-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 15px;
}

.chatbot-bubble {
    background: #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 20px;
    border-bottom-right-radius: 5px;
    font-size: 0.9rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    animation: float 4s ease-in-out infinite;
}

.btn-chat {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
    transition: transform 0.3s;
}

.btn-chat:hover { transform: scale(1.1); }

/* Footer */
footer {
    padding: 80px 0 30px;
    border-top: var(--glass-border);
    background: rgba(5, 5, 16, 0.9);
}

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

.footer-col h3 { font-size: 1.5rem; margin-bottom: 20px; }
.footer-col h4 { font-size: 1.1rem; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: var(--secondary); }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

/* Responsive */
/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 16, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    font-size: 1.5rem;
    color: var(--text-main);
    font-weight: 600;
}

.mobile-menu .close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
}

/* --- Login Page --- */
.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.simple-navbar {
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    position: absolute;
    top: 0;
    width: 100%;
}

.login-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 50px;
}

.login-card {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(20, 20, 35, 0.6);
    backdrop-filter: blur(20px);
    border: var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

.login-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--text-main);
}

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.divider {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.divider span {
    padding: 0 10px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.forgot-pass {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
}

.forgot-pass:hover {
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

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

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 3rem; }
    .hero-text p { margin: 0 auto 40px; }
    .hero-cta { justify-content: center; }
    .hero-visual { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    /* Grids */
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    
    /* Dashboard Tablet */
    .sidebar { width: 80px; padding: 20px 10px; }
    .sidebar-logo, .sidebar-footer span, .sidebar-nav a span { display: none; }
    .sidebar-nav a { justify-content: center; padding: 15px 0; }
    .dashboard-main { margin-left: 80px; }
    .dashboard-header { padding: 0 20px; }
}

/* Mobile: 1 Column */
@media (max-width: 768px) {
    .mega-services {
        grid-template-columns: 1fr;
    }
    .service-category:nth-child(3) {
        grid-column: auto; /* Reset span */
    }

    /* Navbar */
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: block; color: var(--text-main); }
    
    /* General */
    .container { padding: 0 15px; }
    h1 { font-size: 2.5rem; }
    
    /* Grids */
    .checkout-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    
    /* Dashboard Mobile */
    .dashboard-body { flex-direction: column; }
    .sidebar-toggle { display: block !important; }
    
    .sidebar { 
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        z-index: 1001;
        transition: left 0.3s ease;
        padding: 20px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        background: rgba(10, 10, 25, 0.98);
        backdrop-filter: blur(10px);
    }
    
    .sidebar.active { left: 0; }
    
    .sidebar-nav, .sidebar-footer { display: flex; } /* Show nav inside drawer */
    .sidebar-logo { height: 30px; }
    
    .dashboard-main { margin-left: 0; width: 100%; }
    .dashboard-container { padding: 20px; }
    
    /* AI Builder */
    .builder-container { flex-direction: column; }
    .ai-sidebar { width: 100%; height: 40vh; border-right: none; border-bottom: var(--glass-border); }
    .preview-area { height: 60vh; padding: 20px; }
    .emulator-frame { transform: scale(0.8); transform-origin: top center; }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 2rem; }
    .hero-cta { flex-direction: column; width: 100%; }
    .btn { width: 100%; text-align: center; }
    .domain-search-form { flex-direction: column; }
    
    /* Services */
    .service-item { flex-direction: column; text-align: center; align-items: center; }
    .service-icon { margin-bottom: 10px; }
    
    /* Checkout */
    .cart-item { flex-direction: column; align-items: flex-start; gap: 10px; }
    .payment-methods { flex-direction: column; }
    .row { flex-direction: column; gap: 10px; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

/* --- Dashboard Styles --- */
.dashboard-body {
    display: flex;
    background-color: var(--bg-dark);
}

.sidebar {
    width: 250px;
    height: 100vh;
    background: rgba(10, 10, 25, 0.95);
    border-right: var(--glass-border);
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: fixed;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.sidebar-logo {
    height: 30px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.sidebar-nav a {
    padding: 12px 15px;
    border-radius: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    background: rgba(138, 43, 226, 0.1);
    color: var(--text-main);
}

.sidebar-footer a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-main {
    margin-left: 250px;
    flex: 1;
    min-height: 100vh;
}

.dashboard-header {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    border-bottom: var(--glass-border);
}

.header-search {
    background: rgba(255,255,255,0.05);
    padding: 10px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.header-search input {
    background: transparent;
    border: none;
    color: var(--text-main);
    outline: none;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification-bell {
    position: relative;
    font-size: 1.2rem;
    cursor: pointer;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-profile img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.dashboard-container {
    padding: 40px;
}

.subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.action-card {
    background: var(--bg-card);
    border: var(--glass-border);
    padding: 20px;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.2s;
}

.action-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.icon-box.purple { background: rgba(138, 43, 226, 0.2); color: var(--primary); }
.icon-box.cyan { background: rgba(0, 255, 255, 0.2); color: var(--secondary); }
.icon-box.magenta { background: rgba(255, 0, 255, 0.2); color: var(--accent); }

.section-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.service-item {
    background: var(--bg-card);
    border: var(--glass-border);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-icon {
    font-size: 2rem;
    color: var(--text-muted);
    width: 50px;
}

.service-info {
    flex: 1;
}

.service-info h4 { margin-bottom: 5px; }
.service-info p { font-size: 0.9rem; color: var(--text-muted); }

.status {
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 10px;
}

.status.active { background: rgba(0, 255, 127, 0.2); color: #00ff7f; }
.status.draft { background: rgba(255, 255, 255, 0.1); color: var(--text-muted); }

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

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.stat-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 15px;
    border: var(--glass-border);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin: 10px 0;
}

.stat-trend { font-size: 0.9rem; }
.stat-trend.positive { color: #00ff7f; }
.stat-trend.neutral { color: var(--text-muted); }

/* --- AI Builder Styles --- */
.builder-body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.builder-nav {
    height: 60px;
    background: #0a0a1a;
    border-bottom: var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.device-toggles {
    background: rgba(255,255,255,0.05);
    padding: 5px;
    border-radius: 8px;
    display: flex;
    gap: 5px;
}

.device-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
}

.device-btn.active {
    background: rgba(255,255,255,0.1);
    color: var(--text-main);
}

.builder-container {
    flex: 1;
    display: flex;
}

.ai-sidebar {
    width: 350px;
    background: #050510;
    border-right: var(--glass-border);
    display: flex;
    flex-direction: column;
}

.ai-header {
    padding: 20px;
    border-bottom: var(--glass-border);
    display: flex;
    align-items: center;
    gap: 15px;
}

.ai-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-area {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* AI Sidebar Options */
.ai-options {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.option-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.ai-select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 8px;
    border-radius: 5px;
    outline: none;
    font-size: 0.9rem;
}

.ai-select:focus {
    border-color: var(--primary);
}

.message {
    padding: 15px;
    border-radius: 15px;
    max-width: 90%;
    font-size: 0.95rem;
}

.message.ai {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    align-self: flex-start;
    border-top-left-radius: 0;
}

.message.user {
    background: rgba(255,255,255,0.05);
    align-self: flex-end;
    border-top-right-radius: 0;
}

.generation-steps {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.generation-steps li {
    margin-bottom: 5px;
}

.chat-input-area {
    padding: 20px;
    border-top: var(--glass-border);
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: none;
    padding: 12px;
    border-radius: 10px;
    color: #fff;
    outline: none;
}

.chat-input-area button {
    background: var(--primary);
    border: none;
    width: 40px;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
}

.preview-area {
    flex: 1;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: auto;
}

.emulator-frame {
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    overflow: hidden;
}

.desktop-frame {
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.tablet-frame {
    width: 768px;
    height: 1024px;
    border: 20px solid #2a2a2a;
    border-radius: 30px;
}

.mobile-frame {
    width: 375px;
    height: 812px;
    border: 15px solid #2a2a2a;
    border-radius: 40px;
}

.emulator-content {
    width: 100%;
    height: 100%;
    background: #fff;
    color: #333;
    overflow-y: auto;
}

/* Simulated Website in Emulator */
.sim-header {
    background: #111;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sim-hero {
    background: #f4f4f4;
    padding: 60px 20px;
    text-align: center;
}

.sim-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #000;
}

.sim-hero button {
    background: #000;
    color: #fff;
    padding: 10px 25px;
    border: none;
    cursor: pointer;
}

.sim-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px 20px;
}

.sim-card {
    background: #eee;
    height: 200px;
}

/* --- Checkout Styles --- */
.checkout-body {
    background: #f0f2f5;
    color: #333;
    min-height: 100vh;
}

.checkout-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: #050510;
}

.secure-badge {
    color: #00cc66;
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.order-summary, .payment-details {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.checkout-grid h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #050510;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-info h4 { font-size: 1rem; margin-bottom: 5px; }
.item-info p { font-size: 0.9rem; color: #666; }
.item-price { font-weight: 700; }

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
}

.payment-methods {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.method-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #333;
}

.method-btn.active {
    border-color: #8A2BE2;
    color: #8A2BE2;
    background: rgba(138, 43, 226, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #666;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
}

.form-group input:focus {
    border-color: #8A2BE2;
}

.row {
    display: flex;
    gap: 20px;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}
