/* ============================================
   AI SERVER DOMAINS — Landing Page Styles
   Premium Light Theme — White, Silver & Sky Blue
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.6);
    --border-glass: rgba(176, 206, 224, 0.35);
    --border-hover: rgba(125, 185, 220, 0.5);
    
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --accent-cyan: #0ea5e9;
    --accent-blue: #38bdf8;
    --accent-violet: #7dd3fc;
    --accent-green: #10b981;
    --accent-amber: #f59e0b;
    
    --gradient-main: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 50%, #7dd3fc 100%);
    --gradient-glow: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(56,189,248,0.1), rgba(125,211,252,0.1));
    
    --font-he: 'Heebo', sans-serif;
    --font-en: 'Inter', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-card: 0 4px 24px rgba(148, 163, 184, 0.15);
    --shadow-glow: 0 0 60px rgba(14, 165, 233, 0.08);
    
    --header-height: 72px;
    --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-he);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

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

/* --- Particle Canvas --- */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- Floating Orbs --- */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}
.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-cyan);
    top: -200px;
    right: -150px;
    animation: orbFloat 20s ease-in-out infinite;
}
.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-violet);
    bottom: -100px;
    left: -100px;
    animation: orbFloat 25s ease-in-out infinite reverse;
}
.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-blue);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat 30s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.05); }
    50% { transform: translate(-30px, 50px) scale(0.95); }
    75% { transform: translate(40px, 20px) scale(1.02); }
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 100;
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: background 0.3s ease;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    font-size: 1.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    font-family: var(--font-en);
    letter-spacing: -0.5px;
}

.header-cta {
    padding: 8px 24px;
    border-radius: 100px;
    background: var(--gradient-main);
    color: white;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.header-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.2);
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-cyan);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.lang-toggle:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: var(--accent-cyan);
    transform: translateY(-1px);
}

/* --- Hero --- */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: calc(var(--header-height) + 2rem) 2rem 2rem;
}

.hero::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('server-bg.jpg') center center / cover no-repeat;
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    background: linear-gradient(to top, #ffffff 0%, transparent 100%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.title-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

.hero-domains {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.25s both;
}

.hero-domain {
    font-family: var(--font-en);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 20px;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: 100px;
    color: var(--accent-cyan);
    direction: ltr;
    letter-spacing: -0.2px;
    transition: all 0.3s ease;
}

.hero-domain:hover {
    background: rgba(14, 165, 233, 0.15);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-family: var(--font-he);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* --- Hero Visual (Server Rack) --- */
.hero-visual {
    flex: 0 0 340px;
    animation: fadeInUp 1s ease 0.5s both;
}

.server-rack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.server-unit {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(241, 245, 249, 0.8);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    animation: serverSlideIn 0.6s ease calc(var(--delay) + 0.8s) both;
}

@keyframes serverSlideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.server-lights {
    display: flex;
    gap: 4px;
}

.led {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: ledBlink 3s infinite;
}

.led-green { background: var(--accent-green); }
.led-blue { background: var(--accent-blue); }
.led-amber { background: var(--accent-amber); }

@keyframes ledBlink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.3; }
}

.server-label {
    font-family: var(--font-en);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1px;
    min-width: 80px;
}

.server-bars {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.bar {
    height: 3px;
    border-radius: 2px;
    background: var(--gradient-main);
    width: var(--w);
    opacity: 0.6;
    animation: barPulse 4s ease-in-out infinite;
}

@keyframes barPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* --- Stats Ribbon --- */
.stats-ribbon {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
}

.stats-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-glass);
}

/* --- Section Commons --- */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-cyan);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 4px 16px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 100px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* --- Domains Section --- */
.domains {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.domain-card {
    position: relative;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.domain-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card), 0 0 40px rgba(59, 130, 246, 0.1);
}

.domain-card.featured {
    border-color: rgba(6, 182, 212, 0.3);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(59, 130, 246, 0.05));
}

.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.03) 0%, transparent 60%);
    pointer-events: none;
    transition: transform 0.5s ease;
}

.domain-card:hover .card-shine {
    transform: translate(10%, 10%);
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--bg-primary);
    background: var(--accent-cyan);
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.domain-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
    color: var(--accent-cyan);
}

.domain-name {
    font-family: var(--font-en);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    direction: ltr;
    text-align: right;
    letter-spacing: -0.3px;
}

.domain-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.domain-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.domain-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- Bundle CTA --- */
.bundle-cta {
    background: linear-gradient(135deg, rgba(6,182,212,0.1), rgba(139,92,246,0.1));
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin-top: 2rem;
}

.bundle-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.bundle-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.bundle-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Why Section --- */
.why-section {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.why-card {
    padding: 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: rgba(255,255,255,0.06);
}

.why-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.why-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Use Cases --- */
.usecases {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.usecase-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.usecase-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.usecase-item:hover {
    border-color: var(--border-hover);
    background: rgba(255,255,255,0.06);
    transform: translateX(-4px);
}

.usecase-number {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    min-width: 48px;
}

.usecase-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.usecase-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Contact Section --- */
.contact {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 182, 212, 0.03) 100%);
}

.contact-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.contact-content {
    flex: 1;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-method:hover {
    border-color: var(--border-hover);
    background: rgba(255,255,255,0.06);
    transform: translateX(-4px);
}

.method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-sm);
    color: var(--accent-blue);
}

.method-icon.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.method-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.method-value {
    font-size: 0.95rem;
    font-weight: 500;
    direction: ltr;
    unicode-bidi: plaintext;
}

/* --- Contact Visual (Floating Domains) --- */
.contact-visual {
    flex: 0 0 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    position: relative;
}

.floating-domains {
    position: relative;
    width: 100%;
    height: 300px;
}

.floating-domain {
    position: absolute;
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
    white-space: nowrap;
    direction: ltr;
}

.fd-1 {
    top: 10%;
    right: 10%;
    animation: domainFloat 6s ease-in-out infinite;
    border-color: rgba(6, 182, 212, 0.3);
}
.fd-2 {
    top: 35%;
    right: 40%;
    animation: domainFloat 7s ease-in-out infinite 1s;
    border-color: rgba(59, 130, 246, 0.3);
}
.fd-3 {
    top: 55%;
    right: 15%;
    animation: domainFloat 8s ease-in-out infinite 2s;
    border-color: rgba(139, 92, 246, 0.3);
}
.fd-4 {
    top: 75%;
    right: 35%;
    animation: domainFloat 6.5s ease-in-out infinite 0.5s;
    border-color: rgba(0, 229, 160, 0.3);
}

@keyframes domainFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-12px) rotate(1deg); }
    50% { transform: translateY(6px) rotate(-1deg); }
    75% { transform: translateY(-8px) rotate(0.5deg); }
}

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 1;
    padding: 2rem;
    border-top: 1px solid var(--border-glass);
    text-align: center;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-note {
    margin-top: 0.5rem;
    font-size: 0.75rem !important;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: calc(var(--header-height) + 3rem);
        gap: 3rem;
    }

    .hero-visual {
        flex: none;
        width: 100%;
        max-width: 400px;
    }

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

    .stats-inner {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .bundle-inner {
        flex-direction: column;
        text-align: center;
    }

    .contact-inner {
        flex-direction: column;
    }

    .contact-visual {
        flex: none;
        width: 100%;
        min-height: 250px;
    }

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

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .usecase-item {
        flex-direction: column;
        gap: 1rem;
    }

    .floating-domain {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}
