:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #0ea5e9;
    --accent: #ec4899;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --white: #ffffff;
    --gradient-main: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--darker-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

input, textarea, button {
    font-family: inherit;
    outline: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.hidden { display: none !important; }
.btn-primary {
    background: var(--gradient-main);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.header-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;
}

.logo-icon {
    width: 35px;
    height: 35px;
    background: var(--gradient-main);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.logo-text .dot {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

.nav-link.btn-contact {
    border: 1px solid var(--glass-border);
    padding: 8px 18px;
    border-radius: 20px;
}

.nav-link.btn-contact:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    padding-top: 140px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    z-index: -1;
    opacity: 0.6;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--secondary);
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-search .search-bar {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 8px;
    border-radius: 60px;
    backdrop-filter: blur(10px);
}

.hero-search input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 0 20px;
    font-size: 1rem;
}

/* Hero Visual Animation (Replacing Image) */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glass-card {
    width: 380px;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

.card-header {
    margin-bottom: 20px;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}
.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.data-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-family: monospace;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.data-row .label { color: var(--text-muted); }
.data-row .value { color: var(--secondary); }
.data-row .value.active { color: #d1fae5; background: rgba(16, 185, 129, 0.2); padding: 2px 8px; border-radius: 4px; }

.graph-line {
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), transparent);
    margin-top: 20px;
}
.graph-bar {
    height: 4px;
    width: 60%;
    background: var(--primary);
    margin-top: 8px;
    border-radius: 2px;
}

.floating-icon {
    position: absolute;
    font-size: 2.5rem;
    color: var(--accent);
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.5));
    animation: floatIcon 5s ease-in-out infinite alternate;
}

.icon-1 { top: -30px; right: -30px; color: var(--secondary); animation-delay: 1s; }
.icon-2 { bottom: -20px; left: -40px; }

/* Tool Section */
.tool-section {
    padding: 80px 0;
    background: #0f172a;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
}

.tool-interface {
    background: var(--darker-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
}

.tool-search-area {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.tool-search-area input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: white;
}

.tool-search-area button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.tool-search-area button:hover {
    background: #0284c7;
}

#loading-indicator {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--secondary);
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: spin 1s linear infinite;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 25px;
}

.result-header h3 { font-size: 1.8rem; }

.status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}
.status-badge.valid { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
.status-badge.invalid { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info { display: flex; flex-direction: column; }
.info .label { font-size: 0.8rem; color: var(--text-muted); }
.info .val { font-weight: 600; font-size: 0.95rem; }

.dns-list {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    color: var(--text-muted);
    font-family: monospace;
}
.dns-list li { margin-bottom: 5px; }

.raw-data-note {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* How Section */
.how-section { padding: 80px 0; }

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.step-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
}

.connector-line {
    width: 2px;
    height: 30px;
    background: var(--glass-border);
    margin: 0 auto;
}
.col-visual .step-card:last-child { margin-bottom: 0; }

.alert-box {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid #f59e0b;
    padding: 15px;
    margin-top: 30px;
    border-radius: 6px;
    display: flex;
    gap: 15px;
    align-items: start;
    font-size: 0.9rem;
}
.alert-box i { color: #f59e0b; margin-top: 3px; }

/* Cases */
.cases-section { padding: 80px 0; background: #0f172a; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}

.case-card:hover { transform: translateY(-5px); background: rgba(30, 41, 59, 0.9); }

.case-card .icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    margin-bottom: 20px;
}

.case-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.case-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Advantages vertical stripe */
.advantages-section {
    background: var(--primary);
    padding: 40px 0;
}
.advantages-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.adv-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}
.big-number { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.big-icon { font-size: 2rem; margin-bottom: 5px; }
.adv-label { font-size: 0.9rem; font-weight: 600; opacity: 0.9; }

/* FAQ */
.faq-section { padding: 80px 0; }
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}
.faq-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}
.faq-item h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--secondary); }
.faq-item p { color: var(--text-muted); font-size: 0.95rem; }

/* Contact */
.contact-section { padding: 80px 0; background: #0f172a; }
.contact-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: var(--darker-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.contact-info {
    padding: 40px;
    background: var(--gradient-main);
    color: white;
}
.contact-info h2 { margin-bottom: 20px; }
.contact-info p { margin-bottom: 30px; opacity: 0.9; }
.contact-link { display: block; margin-bottom: 20px; font-weight: 600; }
.social-links { margin-top: auto; display: flex; gap: 15px; font-size: 1.5rem; }

.contact-form-wrapper { padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-muted); }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
}
.full-width { width: 100%; }

/* Footer */
.footer {
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--text-muted);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--primary); }

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes floatIcon {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-15px) rotate(10deg); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .header-container { padding: 0 15px; }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--darker-bg);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-menu.active { display: flex; }
    .mobile-toggle { display: block; }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-title { font-size: 2.5rem; }
    .hero-search .search-bar { max-width: 500px; margin: 0 auto; }
    .hero-visual { height: 300px; }
    
    .reverse-mobile {
        flex-direction: column-reverse; /* Bootstrapish class logic handled manually below */
        display: flex;
        gap: 40px;
    }
    
    .contact-card { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
}
