:root {
    --bg-dark: #0a0f1a;
    --text-primary: #e0e6ed;
    --text-secondary: #94a3b8;
    --accent-glow: #00f2fe;
    --accent-dark: #4facfe;
    --card-bg: rgba(20, 25, 38, 0.6);
    --border-color: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(79, 172, 254, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 242, 254, 0.08), transparent 25%);
    background-attachment: fixed;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(10, 15, 26, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo {
    height: 35px;
    width: auto;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, var(--accent-glow), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: var(--text-primary);
    margin: 4px 0;
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5% 4rem;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 10;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(90deg, #00f2fe, #4facfe, #00f2fe);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-glow));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-secondary);
}

.btn-secondary:hover {
    border-color: var(--accent-glow);
    color: var(--accent-glow);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent-dark);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: 0;
    animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

.device-mockup {
    position: relative;
    z-index: 10;
    width: 320px;
    height: 650px;
    border-radius: 40px;
    background: #000;
    border: 6px solid #1a1f2e;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 242, 254, 0.2);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.device-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.05);
}

/* App UI Animation inside Device Mockup */
.app-ui {
    width: 100%;
    height: 100%;
    background: #0a0f1a;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.app-ui::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/mainbg.jpg') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.app-ui>* {
    position: relative;
    z-index: 1;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.app-ui-logo {
    width: 24px;
    height: 24px;
}

.app-ui-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.connection-status {
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 1rem;
}

.status-text {
    color: #4facfe;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    text-shadow: 0 0 10px rgba(79, 172, 254, 0.5);
}

.location-text {
    color: #e0e6ed;
    font-size: 1.1rem;
    font-weight: 500;
}

.connection-animation {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid #00f2fe;
    opacity: 0;
    animation: pulse-ring 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.ring-1 {
    width: 100%;
    height: 100%;
    animation-delay: 0s;
}

.ring-2 {
    width: 140%;
    height: 140%;
    animation-delay: -1s;
}

.ring-3 {
    width: 180%;
    height: 180%;
    animation-delay: -2s;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.6);
        opacity: 0;
        border-width: 4px;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
        border-width: 1px;
    }
}

.connect-button {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.3);
    color: white;
}

.shield-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.metrics {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.metric-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-value {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features */
.features-section {
    padding: 6rem 5%;
    text-align: center;
}

.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 242, 254, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-glow);
}

/* Download section */
.download-section {
    padding: 6rem 5%;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(0, 242, 254, 0.05));
    border-top: 1px solid var(--border-color);
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-content p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.store-btn img {
    height: 50px;
    width: auto;
    transition: transform 0.2s ease;
}

.store-btn:hover img {
    transform: scale(1.05);
}

/* Footer */
.footer {
    padding: 4rem 5% 2rem;
    background: #05080f;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-logo {
    height: 40px;
    border-radius: 8px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-content {
        margin-bottom: 4rem;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}