/* Tenzix Swiss Design System - Dual Theme */

/* Theme Variables */
:root {
    /* Light Theme (Default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --bg-card: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
}

[data-theme="dark"] {
    /* Dark Theme */
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #1a1a24;
    --bg-card: #16161f;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #2d2d3a;
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
}

/* Base Styles - Swiss Design Principles */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    letter-spacing: -0.01em;
    margin: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography - Clear Hierarchy */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 1rem 0;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0 0 1.5rem 0;
    max-width: 65ch;
    /* Swiss principle: optimal reading width */
}

/* Accent Text */
.text-accent {
    color: var(--accent);
}

/* Grid System - Swiss Modular Grid */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Section Spacing - Generous Whitespace */
section {
    padding: 6rem 0;
}

/* Cards - Clean and Functional */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.2s ease;
}

.card:hover {
    border-color: var(--accent);
}

/* Pricing Card */
.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.pricing-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.pricing-card.featured {
    border-color: var(--accent);
    border-width: 2px;
}

/* Buttons - Swiss Minimalism */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent);
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Feature List - Clean Checkmarks */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Navbar - Clean Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent);
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    border-color: var(--accent);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
    /* User requested background */
    background-image: url('https://cdn.tenzix.com/homepage/img/img_1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Overlay for text readability */
    background-color: rgba(255, 255, 255, 0.9);
    background-blend-mode: overlay;
}

[data-theme="dark"] .hero-section {
    background-color: rgba(10, 10, 15, 0.85);
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--accent);
}

/* Domain Search - Swiss Minimal */
.domain-search {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.domain-search input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
}

.domain-search input::placeholder {
    color: var(--text-muted);
}

/* Icon Box */
.icon-box {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    z-index: 999;
}

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

.mobile-menu a {
    display: block;
    padding: 1rem 0;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
}

.mobile-menu a:hover {
    color: var(--accent);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    section {
        padding: 4rem 0;
    }
}

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

.text-muted {
    color: var(--text-muted);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-auto {
    margin-top: auto;
}

/* Animation - Subtle */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

/* Legal Content */
.legal-content {
    padding-bottom: 4rem;
}

.legal-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 1rem;
    max-width: 65ch;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.legal-content table {
    font-size: 0.9375rem;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* ===========================================
   Footer Styles
   =========================================== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    max-width: 280px;
}

.footer-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* Status Widget */
.status-widget {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}

.status-widget:hover {
    background: var(--bg-card);
    border-color: var(--accent);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

.status-text {
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--accent);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 3;
        margin-bottom: 1rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: span 2;
    }

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

/* Status pulse animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ===========================================
   Cookie Consent Banner
   =========================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 1rem 2rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-text {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

/* ===========================================
   Domain Pricing Table
   =========================================== */

table.domainpricing {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-primary);
}

table.domainpricing th {
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid var(--text-primary);
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
    /* Maintaining font consistency */
    font-weight: 700;
    /* Font supports up to 700 */
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

table.domainpricing td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 14px;
}

table.domainpricing tr:hover td {
    background-color: var(--bg-tertiary);
    color: #FF3B30;
}

@media (max-width: 768px) {

    table.domainpricing th,
    table.domainpricing td {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* ===========================================
   One-Click Deployment Section
   =========================================== */
@media (max-width: 768px) {
    .one-click-section {
        grid-template-columns: 1fr !important;
    }
}

/* ===========================================
   Refactoring Utilities (New)
   =========================================== */

/* Typography & Colors */
.text-accent {
    color: var(--accent);
}

.text-white {
    color: #ffffff;
}

.bg-secondary {
    background: var(--bg-secondary);
}

.bg-tertiary {
    background: var(--bg-tertiary);
}

.bg-accent {
    background: var(--accent);
}

.text-muted {
    color: var(--text-muted);
}

.font-heading {
    font-family: 'Space Grotesk', sans-serif;
}

/* Icon Sizing (Lucide) */
.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-md {
    width: 24px;
    height: 24px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

.icon-xl {
    width: 48px;
    height: 48px;
}

.icon-2xl {
    width: 64px;
    height: 64px;
}

.icon-3xl {
    width: 80px;
    height: 80px;
}

/* Layout & Spacing */
.section-padding {
    padding: 6rem 0;
}

.section-padding-sm {
    padding: 3rem 0;
}

.min-h-70 {
    min-height: 70vh;
}

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

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.gap-16 {
    gap: 4rem;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.m-0 {
    margin: 0;
}

.my-6 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-3 {
    margin-right: 0.75rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.p-0 {
    padding: 0;
}

.p-4 {
    padding: 1rem;
}

.p-8 {
    padding: 2rem;
}

.p-12 {
    padding: 3rem;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.shrink-0 {
    flex-shrink: 0;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.overflow-hidden {
    overflow: hidden;
}

.z-1 {
    z-index: 1;
}

.flex-1 {
    flex: 1 1 0%;
}

.whitespace-nowrap {
    white-space: nowrap;
}

.align-middle {
    vertical-align: middle;
}

.overflow-x-auto {
    overflow-x: auto;
}

.max-w-800 {
    max-width: 800px;
}

/* Text Utilities */
.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.uppercase {
    text-transform: uppercase;
}

.text-15 {
    font-size: 0.9375rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-center {
    text-align: center;
}

.letter-spacing-wide {
    letter-spacing: 0.1em;
}

.list-none {
    list-style: none;
}

.rounded-circle {
    border-radius: 50%;
}

.rounded-sm {
    border-radius: 4px;
}

/* Specific Components from Inline Styles */
.hero-title-lg {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin: 0;
}

.hero-title-xl {
    font-size: clamp(4rem, 10vw, 6rem);
    line-height: 1;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.spam-experts-section {
    background: #0f0f14;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.spam-experts-bg-lines {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    opacity: 0.1;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.icon-check {
    width: 16px;
    height: 16px;
    color: var(--accent);
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.badge-popular {
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
}

/* Border Utilities */
.border-accent {
    border-color: var(--accent);
}

.border-color-default {
    border-color: var(--border-color);
}

.border-t-2 {
    border-top-width: 2px;
    border-top-style: solid;
}

/* Expanded Spacing & Layout */
.p-16 {
    padding: 4rem;
}

.gap-0 {
    gap: 0;
}

.grid-2-no-gap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.h-full {
    height: 100%;
}

.icon-xs {
    width: 14px;
    height: 14px;
}

.p-6 {
    padding: 1.5rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.text-left {
    text-align: left;
}

.font-mono-display {
    font-family: 'Space Grotesk', monospace;
}

.iframe-container {
    width: 100%;
    height: 400px;
    border: none;
}

/* Generic Table Styles for Cards (Domain Pricing) */
.card table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.card table th {
    text-align: left;
    padding: 1.25rem 1.5rem;
    background: var(--bg-tertiary);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
}

.card table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1rem;
}

.card table tr:last-child td {
    border-bottom: none;
}

.card table tr:hover td {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}