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

:root {
    --primary: #31A8FF;
    --primary-dark: #0078D4;
    --accent: #FF61F6;
    --dark: #1A1A2E;
    --darker: #0F0F1E;
    --text: #E8E8EF;
    --text-muted: #9999A8;
    --card-bg: rgba(31, 31, 50, 0.8);
    --border: rgba(49, 168, 255, 0.2);
    --glow-blue: rgba(49, 168, 255, 0.35);
    --glow-pink: rgba(255, 97, 246, 0.35);
    --card-border: rgba(255, 255, 255, 0.06);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(49, 168, 255, 0.08), transparent 40%),
                radial-gradient(circle at 80% 10%, rgba(255, 97, 246, 0.06), transparent 45%),
                var(--darker);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

section,
footer {
    position: relative;
    z-index: 1;
}

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

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
    --mx: 0;
    --my: 0;
    padding: 70px 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 30% 40%, rgba(49, 168, 255, 0.18), transparent 45%),
                radial-gradient(circle at 70% 30%, rgba(255, 97, 246, 0.16), transparent 45%);
    filter: blur(40px);
    animation: floatGlow 10s ease-in-out infinite;
    z-index: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(49, 168, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 97, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(49, 168, 255, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
    z-index: 0;
    transform: translate(calc(var(--mx) * 6px), calc(var(--my) * 6px));
    transition: transform 0.2s ease;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: -20%;
    background-image:
        linear-gradient(rgba(49, 168, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(49, 168, 255, 0.08) 1px, transparent 1px);
    background-size: 120px 120px;
    transform: translate(calc(var(--mx) * 10px), calc(var(--my) * 10px));
    opacity: 0.25;
}

.hero-glow {
    position: absolute;
    border-radius: 999px;
    mix-blend-mode: screen;
    transition: transform 0.2s ease;
    transform: translate(calc(var(--mx) * var(--shift)), calc(var(--my) * var(--shift)));
    filter: blur(10px);
}

.glow-a {
    width: 420px;
    height: 420px;
    top: -5%;
    left: -5%;
    background: radial-gradient(circle, rgba(49, 168, 255, 0.28), transparent 70%);
    --shift: 22px;
}

.glow-b {
    width: 520px;
    height: 520px;
    bottom: -20%;
    right: -10%;
    background: radial-gradient(circle, rgba(255, 97, 246, 0.26), transparent 72%);
    --shift: 30px;
}

.glow-c {
    width: 260px;
    height: 260px;
    top: 35%;
    right: 25%;
    background: radial-gradient(circle, rgba(49, 168, 255, 0.22), transparent 70%);
    --shift: 16px;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

@keyframes floatGlow {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(20px); opacity: 1; }
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-left {
    max-width: 640px;
}

.hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #0B2A4A;
    background: linear-gradient(135deg, #31A8FF, #6bd1ff);
    box-shadow: 0 10px 25px rgba(49, 168, 255, 0.35);
    font-size: 1rem;
}

.brand-text {
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.2px;
}

.hero-badge {
    display: inline-block;
    background: rgba(49, 168, 255, 0.2);
    border: 1px solid rgba(49, 168, 255, 0.5);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(49, 168, 255, 0.15);
    backdrop-filter: blur(6px);
}

.hero-title {
    font-size: 3.6rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #31A8FF 0%, #FF61F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 80px rgba(49, 168, 255, 0.35);
    letter-spacing: -1px;
}

.hero-version {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 32px;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.ghost-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 22px;
    border-radius: 40px;
    border: 1px solid rgba(49, 168, 255, 0.35);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    background: rgba(15, 15, 30, 0.45);
    transition: all 0.3s ease;
}

.ghost-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(49, 168, 255, 0.2);
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.pill {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(20, 20, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
}

.feature-icon {
    font-size: 1.3rem;
    filter: drop-shadow(0 6px 12px rgba(49, 168, 255, 0.35));
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(49, 168, 255, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.3), transparent 40%, transparent 60%, rgba(255, 255, 255, 0.25));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.download-btn > * {
    position: relative;
    z-index: 1;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(49, 168, 255, 0.6);
}

.download-btn:hover::before {
    opacity: 1;
}

.download-icon {
    font-size: 1.4rem;
    animation: bounce 2s infinite;
}

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

.hero-right {
    display: flex;
    justify-content: flex-end;
}

.hero-panel {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, rgba(30, 30, 45, 0.92), rgba(20, 20, 35, 0.92)) padding-box,
                linear-gradient(135deg, rgba(49, 168, 255, 0.25), rgba(255, 97, 246, 0.25)) border-box;
    border: 1px solid transparent;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: rgba(15, 15, 30, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-title {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.panel-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.panel-body {
    padding: 18px;
}

.panel-canvas {
    position: relative;
    height: 220px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(17, 20, 40, 0.9), rgba(10, 12, 30, 0.9));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 18px;
}

.canvas-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
}

.canvas-shape {
    position: absolute;
    border-radius: 18px;
}

.shape-1 {
    width: 180px;
    height: 120px;
    top: 25px;
    left: 25px;
    background: linear-gradient(135deg, rgba(49, 168, 255, 0.6), rgba(49, 168, 255, 0.15));
    box-shadow: 0 15px 35px rgba(49, 168, 255, 0.3);
}

.shape-2 {
    width: 140px;
    height: 140px;
    bottom: 20px;
    right: 25px;
    background: linear-gradient(135deg, rgba(255, 97, 246, 0.45), rgba(255, 97, 246, 0.1));
    box-shadow: 0 15px 35px rgba(255, 97, 246, 0.3);
}

.panel-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat {
    background: rgba(15, 15, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

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

.stat-value {
    font-weight: 700;
    color: var(--text);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--dark);
}

.about::before,
.about::after,
.features::before,
.features::after,
.faq::before,
.faq::after,
.contact::before,
.contact::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(49, 168, 255, 0.35), rgba(255, 97, 246, 0.35), transparent);
    opacity: 0.6;
}

.about::before,
.features::before,
.faq::before,
.contact::before {
    top: 0;
}

.about::after,
.features::after,
.faq::after,
.contact::after {
    bottom: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary);
    position: relative;
    text-shadow: 0 10px 30px rgba(49, 168, 255, 0.25);
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-specs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.spec-card {
    background: linear-gradient(180deg, rgba(30, 30, 45, 0.9), rgba(20, 20, 35, 0.9)) padding-box,
                linear-gradient(135deg, rgba(49, 168, 255, 0.25), rgba(255, 97, 246, 0.25)) border-box;
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid transparent;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.spec-card::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -40px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(49, 168, 255, 0.18), transparent 70%);
    opacity: 0.8;
}

.spec-card > * {
    position: relative;
    z-index: 1;
}

.spec-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.spec-card ul {
    list-style: none;
}

.spec-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text);
    font-size: 0.95rem;
}

.spec-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text);
    position: relative;
    letter-spacing: 0.3px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.section-title::after {
    content: "";
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    display: block;
    margin: 14px auto 0;
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(49, 168, 255, 0.4);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-item {
    background: linear-gradient(180deg, rgba(30, 30, 45, 0.9), rgba(20, 20, 35, 0.9)) padding-box,
                linear-gradient(135deg, rgba(49, 168, 255, 0.2), rgba(255, 97, 246, 0.2)) border-box;
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid transparent;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 0%, rgba(49, 168, 255, 0.15), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item > * {
    position: relative;
    z-index: 1;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(49, 168, 255, 0.25);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item .feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 6px 20px rgba(49, 168, 255, 0.35));
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--dark);
}

.faq-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

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

.faq-item {
    background: linear-gradient(180deg, rgba(30, 30, 45, 0.9), rgba(20, 20, 35, 0.9)) padding-box,
                linear-gradient(135deg, rgba(49, 168, 255, 0.2), rgba(255, 97, 246, 0.2)) border-box;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid transparent;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.faq-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 0%, rgba(255, 97, 246, 0.12), transparent 45%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item > * {
    position: relative;
    z-index: 1;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
    background: rgba(49, 168, 255, 0.06);
}

.faq-icon {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    min-width: 25px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active {
    box-shadow: 0 18px 45px rgba(49, 168, 255, 0.2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 18px 20px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(30, 30, 45, 0.9), rgba(20, 20, 35, 0.9)) padding-box,
                linear-gradient(135deg, rgba(49, 168, 255, 0.2), rgba(255, 97, 246, 0.2)) border-box;
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid transparent;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 0%, rgba(49, 168, 255, 0.12), transparent 50%);
    opacity: 0.7;
}

.contact-form > * {
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(15, 15, 30, 0.6);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(49, 168, 255, 0.1);
    background: rgba(15, 15, 30, 0.85);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(49, 168, 255, 0.4);
}

/* Footer */
.footer {
    padding: 40px 0;
    background: var(--darker);
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 5px 0;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-right {
        justify-content: flex-start;
    }

    .about-grid,
    .faq-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 20px;
    }
}

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

    .hero-description {
        font-size: 1rem;
    }

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

    .contact-form {
        padding: 30px 20px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
