/* ChronoLex Sovereign Service Aesthetic */
:root {
    --bg-main: #030712;
    --bg-card: rgba(17, 24, 39, 0.6);
    --border-color: rgba(55, 65, 81, 0.4);
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --primary: #f8fafc;
    --secondary: #94a3b8;
    --danger: #ef4444;
    --danger-glow: rgba(239, 68, 68, 0.3);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
}

body {
    font-family: var(--font-body);
    color: var(--primary);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent 40%),
                      radial-gradient(circle at bottom left, rgba(239, 68, 68, 0.03), transparent 40%);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.1;
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-sm {
    max-width: 800px;
}

.section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--secondary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(to right, #2563eb, #3b82f6);
    color: #fff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    background: linear-gradient(to right, #1d4ed8, #2563eb);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-glow:hover::after {
    opacity: 1;
}

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

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--secondary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 60%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(60px);
}

.hero-container {
    text-align: center;
    max-width: 900px;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: 0 0 15px var(--danger-glow);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtext {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--secondary);
}

/* Cards & Glassmorphism */
.glass-card, .glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    transition: var(--transition);
}

/* Edge Section */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.card {
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.card-icon {
    font-size: 2.5rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--secondary);
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.highlight-card {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.8) 0%, rgba(30, 58, 138, 0.2) 100%);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
}

.highlight-card .feature-list li {
    color: var(--primary);
}

.highlight-card .feature-list li strong {
    color: var(--accent);
}

/* Hardware Section */
.hardware-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hardware-content .lead-text {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.hardware-details {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
}

.hardware-details p {
    margin-bottom: 1.5rem;
}

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

.hardware-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.hardware-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981; /* green success */
}

/* Abstract Hardware Visual */
.workstation-graphic {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.z8-glow {
    position: absolute;
    width: 250px;
    height: 350px;
    background: var(--accent);
    filter: blur(80px);
    opacity: 0.3;
}

.server-chassis {
    width: 200px;
    height: 350px;
    background: linear-gradient(135deg, #1f2937 0%, #030712 100%);
    border: 1px solid #374151;
    border-radius: 8px;
    position: relative;
    z-index: 10;
    box-shadow: -10px 10px 30px rgba(0,0,0,0.8),
                inset 1px 1px 0px rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
}

.vent {
    width: 100%;
    height: 15px;
    background: #000;
    border-radius: 2px;
    margin-bottom: 10px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.8);
}

.led-strip {
    width: 100%;
    height: 4px;
    background: #10b981;
    box-shadow: 0 0 10px #10b981, 0 0 20px #10b981;
    border-radius: 2px;
    margin-top: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; box-shadow: 0 0 15px #10b981, 0 0 30px #10b981; }
    100% { opacity: 0.7; }
}

.brand-badge {
    font-family: var(--font-heading);
    font-weight: 800;
    color: #4b5563;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-top: 20px;
}

/* Workflow Section */
.workflow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--bg-main);
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px var(--accent-glow);
}

.step-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.step-content p {
    color: var(--secondary);
    font-size: 0.95rem;
}

.step-connector {
    flex: 0 0 50px;
    height: 2px;
    background: linear-gradient(to right, rgba(59,130,246,0.1), var(--accent), rgba(59,130,246,0.1));
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

/* Pricing Section */
.focus-card {
    border: 2px solid var(--accent);
    padding: 4rem;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(30, 58, 138, 0.4) 0%, rgba(17, 24, 39, 0.9) 100%);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px var(--accent-glow);
}

.pricing-header {
    margin-bottom: 3rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin: 1.5rem 0;
}

.currency {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.amount {
    font-size: 5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.period {
    color: var(--secondary);
    font-size: 1.25rem;
}

.challenge-box {
    background: rgba(255,255,255,0.03);
    border: 1px dashed var(--secondary);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.challenge-box h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.limit-warning {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid var(--danger);
    padding: 1rem 1.5rem;
    border-radius: 4px;
}

.limit-warning .icon {
    font-size: 1.5rem;
}

/* Form Section */
.lead-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.btn-submit {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
    margin-top: 4rem;
}

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

.brand p {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.footer-links a {
    color: var(--secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* Responsive */
@media (max-width: 992px) {
    .grid-2, .hardware-container, .lead-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hardware-visual {
        order: -1;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .workflow-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step-connector {
        width: 2px;
        height: 50px;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .focus-card {
        padding: 2rem;
    }
    
    .amount {
        font-size: 3.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links a {
        margin: 0 1rem;
    }
}