:root {
    --bg-dark: #07090f;
    --bg-darker: #040508;
    --text-primary: #ffffff;
    --text-secondary: #a0a5b5;
    --accent-cyan: #00f0ff;
    --accent-purple: #8a2be2;
    --glass-bg: rgba(25, 30, 48, 0.4);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

/* Typography & Utilites */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}

.text-glow {
    color: var(--accent-cyan);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.5), 0 0 30px rgba(0, 240, 255, 0.3);
}

.dark-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

.glass-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(138, 43, 226, 0.15);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 30px;
    font-size: 0.9rem;
    color: #e2c2ff;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
}

#navbar.scrolled {
    background: rgba(7, 9, 15, 0.8);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo-img {
    height: 34px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-cyan);
    transition: width 0.3s;
    box-shadow: 0 0 10px var(--accent-cyan);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 50px;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-left {
    flex: 1.5;
    max-width: 750px;
    text-align: left;
}



.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    background: linear-gradient(to right, #fff, #a0a5b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-intro-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-size: 1.15rem;
    line-height: 1.6;
}

.check-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    background-color: #0b5fb4;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    vertical-align: middle;
}

.check-icon::after {
    content: '✓';
    color: white;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.download-main-btn {
    background: linear-gradient(90deg, #0044ff, #00a2ff);
    color: #fff;
    border: none;
    padding: 18px 0;
    width: 100%;
    max-width: 350px;
    justify-content: center;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 0 25px rgba(0, 162, 255, 0.5);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.download-main-btn:hover {
    box-shadow: 0 0 40px rgba(0, 162, 255, 0.8);
    transform: translateY(-5px) scale(1.02);
    color: #fff;
}

.platform-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    max-width: 350px;
    margin-top: 20px;
    gap: 10px;
}

.btn-img-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.p-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    gap: 10px;
}

.p-icon-svg {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: transform 0.3s;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.p-icon-box:hover {
    color: var(--text-primary);
}

.p-icon-box:hover .p-icon-svg {
    transform: scale(1.15);
    opacity: 1;
}

/* Phone Mockup Right Side */
.hero-right {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.phone-mockup {
    width: 250px;
    height: 500px;
    border-radius: 30px;
    background: rgba(20, 25, 45, 0.6);
    border: 2px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1), inset 0 0 20px rgba(0, 240, 255, 0.1);
    position: absolute;
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: transform 0.5s ease;
}

.phone-front {
    transform: rotateY(-15deg) rotateX(5deg) translateZ(30px);
    z-index: 2;
    border-color: rgba(0, 240, 255, 0.6);
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 240, 255, 0.2);
}

.phone-back {
    transform: rotateY(-15deg) rotateX(5deg) translateX(120px) translateZ(-40px);
    z-index: 1;
    opacity: 0.7;
}

.phone-screen {
    position: absolute;
    top: 3%;
    left: 4%;
    width: 92%;
    height: 94%;
    border-radius: 20px;
    background: linear-gradient(180deg, #0b101e 0%, #1a0b2e 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Phone UI Internal Styles */
.phone-ui {
    width: 100%;
    height: 100%;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.ui-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.ui-node {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
}

.node-flag {
    font-size: 1.1rem;
}

.ui-delay {
    color: #00ff88;
    font-size: 0.65rem;
}

.ui-connect-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 10px 0;
}

.connect-circle-outer {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.15) 0%, transparent 70%);
    position: absolute;
    animation: ripple 3s infinite ease-out;
}

.connect-circle-inner {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 4px solid #00ff88;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00ff88;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.4), inset 0 0 15px rgba(0, 255, 136, 0.2);
    z-index: 2;
    background: rgba(0, 255, 136, 0.05);
}

@keyframes ripple {
    0% { transform: scale(0.7); opacity: 0; }
    50% { transform: scale(1.1); opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 0; }
}

.ui-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ui-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.val {
    color: #fff;
    font-weight: 600;
}

/* Phone Back List Styles */
.ui-list-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: left;
    padding-left: 5px;
    border-left: 3px solid var(--accent-cyan);
}

.list-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.list-lines .line {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.active-node {
    border-color: rgba(0, 240, 255, 0.5) !important;
    background: rgba(0, 240, 255, 0.05) !important;
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.1);
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px var(--accent-cyan), inset 0 0 20px var(--accent-cyan); }
    50% { box-shadow: 0 0 40px var(--accent-cyan), inset 0 0 40px var(--accent-cyan); }
    100% { box-shadow: 0 0 20px var(--accent-cyan), inset 0 0 20px var(--accent-cyan); }
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glow-button {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2), inset 0 0 15px rgba(0, 240, 255, 0.1);
}

.glow-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.glow-button:hover::before {
    left: 100%;
}

.btn-text {
    position: relative;
    z-index: 1;
}

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

.feature-card {
    padding: 35px 30px;
    text-align: left;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 35px rgba(0, 240, 255, 0.1);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: #e2c2ff;
    margin: 0;
}

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

/* Contact Section Redesign */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 40px;
    align-items: center;
    background: linear-gradient(135deg, rgba(25, 30, 48, 0.4) 0%, rgba(13, 16, 28, 0.2) 100%);
    backdrop-filter: blur(12px);
    border-radius: 30px;
    /* Removed explicit border as requested */
}

.contact-header {
    text-align: left;
}

.section-title-left {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-desc-left {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 400px;
}

.contact-links-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-link-new {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.contact-link-new:hover {
    background: rgba(138, 43, 226, 0.1);
    border-color: rgba(138, 43, 226, 0.3);
    transform: translateX(10px);
}

.contact-icon-small {
    width: 32px;
    height: 32px;
}

.link-info {
    display: flex;
    flex-direction: column;
}

.link-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-val {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 991px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 40px 20px;
    }
    
    .contact-header {
        text-align: center;
    }
    
    .section-desc-left {
        max-width: 100%;
    }
    
    .contact-link-new:hover {
        transform: translateY(-5px);
    }
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 0 20px;
    background: var(--bg-darker);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.copyright {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    margin-top: 20px;
}

/* Animations */
.drop-in {
    animation: dropIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(7, 9, 15, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        border-bottom: 1px solid var(--glass-border);
        padding: 20px 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hero-content {
        flex-direction: column;
        margin-top: 40px;
    }

    .hero-right {
        display: none;
    }

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

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

    .about-content {
        padding: 30px 20px;
    }
}
