/* Inline style replacements for HTML warnings */
.auth-card {
    max-width: 650px;
}
.section-title.download-title {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}
.svg-inline {
    display: inline;
    vertical-align: middle;
    margin-right: 8px;
}
.install-divider {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(122, 92, 255, 0.2);
}
.btn-large {
    font-size: 1.2rem;
    padding: 18px 42px;
}
.footer-logo {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 8px rgba(176, 132, 255, 0.5));
}
.footer-logo-margin {
    margin-bottom: 1rem;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Lighter, Vibrant Twilight Purple Theme */
    --bg: linear-gradient(135deg, #3c2a6a 0%, #451e92 50%, #8462da 100%);
    --bg-solid: #1a1429;

    /* Professional Cards - Glassy & Distinct */
    --card: rgba(11, 9, 9, 0.03);
    --card-hover: rgba(255, 255, 255, 0.07);
    --card-border: rgba(166, 127, 255, 0.15);

    /* Accents */
    --primary: #b084ff;
    --primary-light: #e0cfff;
    --cyan: #00f2ff;
    --text: #ffffff;
    --muted: #b4b9d6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #b084ff 0%, #d4b8ff 100%);
    --gradient-cyan: linear-gradient(135deg, #00f2ff 0%, #00c8ff 100%);
    --gradient-button: linear-gradient(135deg, #9d6eff, #845ef7);

    /* Glows & Shadows */
    --glow-purple: rgba(176, 132, 255, 0.4);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.25);
    --shadow-button: 0 4px 20px rgba(176, 132, 255, 0.35);
    --shadow-glow: 0 0 60px rgba(176, 132, 255, 0.15);

    --radius-card: 20px;
    --radius-btn: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-solid);
    background-image: var(--bg);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Background Effects */
body::before {
    content: '';
    position: fixed;
    top: -30%;
    right: -10%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(166, 127, 255, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    left: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    position: relative;
}

.btn-primary {
    background: var(--gradient-button);
    color: white;
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(166, 127, 255, 0.5);
}

.btn-outline {
    border: 2px solid rgba(166, 127, 255, 0.3);
    background: transparent;
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(166, 127, 255, 0.1);
    box-shadow: 0 0 20px rgba(166, 127, 255, 0.2);
}

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

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

/* Seamless Sections */
.section {
    padding: 100px 0;
    position: relative;
    margin-bottom: 60px;
}

/* Smooth fade between sections */
.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(26, 20, 41, 0.5));
    pointer-events: none;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.15rem;
    line-height: 1.7;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes float {

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

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

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(140px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(140px) rotate(-360deg);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

.delay-4 {
    animation-delay: 0.6s;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(26, 20, 41, 0.9);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: 'Times New Roman', serif;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 8px rgba(166, 127, 255, 0.5));
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    transition: var(--transition);
}

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

.nav-cta {
    background: rgba(166, 127, 255, 0.15);
    color: var(--primary) !important;
    padding: 10px 20px;
    border-radius: var(--radius-btn);
    border: 1px solid rgba(166, 127, 255, 0.3);
}

.nav-cta:hover {
    background: var(--gradient-button);
    color: white !important;
    box-shadow: 0 0 20px rgba(166, 127, 255, 0.4);
}

/* Hero Section */
.hero {
    padding: 180px 0 140px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.hero-text .tagline {
    font-size: 1.3rem;
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 550px;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-top: 2.5rem;
}

/* Enhanced Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.hero-center-logo {
    position: relative;
    z-index: 10;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(166, 127, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 4s ease-in-out infinite;
}

.hero-center-logo img {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 0 30px rgba(166, 127, 255, 0.6));
}

.orbit-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-tag {
    position: absolute;
    background: rgba(26, 22, 37, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 14px 24px;
    border-radius: 12px;
    border: 1px solid rgba(166, 127, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.tag-1 {
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.tag-2 {
    bottom: 25%;
    right: 5%;
    animation: float 7s ease-in-out infinite 1s;
}

.tag-3 {
    top: 15%;
    right: 15%;
    animation: float 5s ease-in-out infinite 2s;
}

.tag-4 {
    bottom: 20%;
    left: 5%;
    animation: float 8s ease-in-out infinite 0.5s;
}

.floating-tag svg {
    width: 20px;
    height: 20px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: var(--radius-card);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--card-hover);
    border-color: rgba(166, 127, 255, 0.3);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(166, 127, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: var(--primary-light);
    border: 1px solid rgba(166, 127, 255, 0.15);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    position: relative;
    margin-bottom: 60px;
}
.steps-timeline {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--cyan) 100%);
    opacity: 0.2;
    z-index: 0;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    box-shadow: var(--shadow-button);
    position: relative;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.step-content p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Why Section */
.why-kivix {
    padding: 100px 0;
    position: relative;
    margin-bottom: 60px;
}
.why-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.why-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.why-content .highlight {
    color: var(--text);
    font-weight: 600;
}

/* Use Cases */
.use-cases {
    padding: 100px 0;
    position: relative;
    margin-bottom: 60px;
}
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.use-case-card {
    background: var(--card);
    border: 1px solid rgba(0, 240, 255, 0.1);
    padding: 36px;
    border-radius: var(--radius-card);
    transition: var(--transition);
}

.use-case-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
    transform: translateY(-6px);
    background: var(--card-hover);
}

.use-case-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
    color: var(--cyan);
}

.use-case-card p {
    color: var(--muted);
    line-height: 1.7;
}

/* Security Section */
.security {
    padding: 100px 0;
    position: relative;
    margin-bottom: 60px;
}
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.security-item {
    background: rgba(166, 127, 255, 0.05);
    padding: 24px;
    border-radius: var(--radius-btn);
    border: 1px solid rgba(166, 127, 255, 0.1);
    font-size: 1.05rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 14px;
}

.security-item svg {
    color: var(--primary-light);
    flex-shrink: 0;
}

/* FAQ */
.faq {
    padding: 100px 0;
    position: relative;
    margin-bottom: 60px;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--card-border);
    padding: 30px 35px;
    border-radius: var(--radius-card);
    margin-bottom: 20px;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(166, 127, 255, 0.3);
    background: var(--card-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.faq-item p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Beta Access */
.beta-access {
    padding: 100px 0;
    position: relative;
    margin-bottom: 60px;
}
.beta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.beta-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 1.2rem;
}

/* Roadmap */
.roadmap {
    padding: 100px 0;
    position: relative;
    margin-bottom: 60px;
}
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
    max-width: 1000px;
    margin: 0 auto;
}

.roadmap-item {
    background: var(--card);
    border: 1px solid var(--card-border);
    padding: 20px 24px;
    border-radius: var(--radius-btn);
    font-size: 1rem;
    color: var(--text);
    transition: var(--transition);
    text-align: center;
}

.roadmap-item:hover {
    border-color: var(--primary);
    background: var(--card-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(166, 127, 255, 0.15);
}

/* Download CTA Section */
.download-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, rgba(166, 127, 255, 0.08) 0%, rgba(0, 240, 255, 0.04) 100%);
    margin-bottom: 60px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn-large {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 40px;
    background: var(--card);
    border: 2px solid rgba(166, 127, 255, 0.2);
    border-radius: var(--radius-card);
    color: white;
    transition: var(--transition);
    font-size: 1.1rem;
    font-weight: 600;
}

.download-btn-large:hover {
    background: var(--gradient-button);
    border-color: var(--primary);
    box-shadow: var(--shadow-button);
    transform: translateY(-6px);
}

.download-btn-large.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.download-btn-large.disabled:hover {
    transform: none;
    background: var(--card);
    box-shadow: none;
}

/* Invite & Download Pages */
.centered-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px;
    background: radial-gradient(circle at center, rgba(166, 127, 255, 0.08) 0%, rgba(26, 20, 41, 0.8) 100%);
}

.auth-card {
    background: var(--card);
    padding: 60px;
    border-radius: 24px;
    border: 1px solid rgba(166, 127, 255, 0.2);
    box-shadow: var(--shadow-glow);
    width: 100%;
    max-width: 500px;
}

.input-group {
    margin: 35px 0;
    position: relative;
}

.input-field {
    width: 100%;
    padding: 18px 24px;
    background: rgba(30, 26, 40, 0.5);
    border: 2px solid rgba(166, 127, 255, 0.2);
    border-radius: var(--radius-btn);
    color: white;
    font-size: 1.2rem;
    outline: none;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 3px;
    font-weight: 600;
}

.input-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(166, 127, 255, 0.2);
    background: rgba(40, 35, 50, 0.6);
}

.input-field.error {
    border-color: #ff4757;
}

.error-msg {
    color: #ff4757;
    font-size: 0.95rem;
    margin-top: 12px;
    display: none;
}

.download-grid {
    display: grid;
    gap: 20px;
    margin-top: 45px;
    width: 100%;
    max-width: 450px;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: var(--card);
    border: 2px solid rgba(166, 127, 255, 0.2);
    border-radius: var(--radius-btn);
    color: white;
    transition: var(--transition);
    text-align: left;
}

.download-btn:hover {
    background: var(--card-hover);
    border-color: var(--primary);
    transform: translateX(6px);
    box-shadow: 0 0 25px rgba(166, 127, 255, 0.2);
}

.download-info h4 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.download-info span {
    font-size: 0.9rem;
    color: var(--muted);
}

.download-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(26, 22, 37, 0.4);
}

.download-btn.disabled:hover {
    transform: none;
    border-color: rgba(166, 127, 255, 0.2);
    box-shadow: none;
}

/* Footer */
footer {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--muted);
    background: rgba(26, 20, 41, 0.8);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 24px;
}

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

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text .tagline {
        margin: 0 auto 2rem;
    }

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

    .hero-visual {
        height: 400px;
    }

    .steps-timeline {
        flex-direction: column;
        gap: 60px;
    }

    .steps-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

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

    .floating-tag {
        display: none;
    }
}