:root {
    --bg-color: #0b0c10;
    --text-main: #ffffff;
    --text-muted: #a0aab2;
    --primary-color: #45f3ff;
    --secondary-color: #6a11cb;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--secondary-color), transparent 70%);
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, #2575fc, transparent 70%);
    animation-delay: -5s;
}

.orb-3 {
    top: 40%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
    opacity: 0.3;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Typography & Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), #b152ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    position: relative;
    overflow: hidden;
}

.hover-glow::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 0);
    left: var(--mouse-x, 0);
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
}

.hover-glow:hover::before {
    opacity: 1;
}

.hover-glow > * {
    position: relative;
    z-index: 1;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    z-index: 100;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

header.scrolled {
    background: rgba(11, 12, 16, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--card-border);
    padding: 15px 5%;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

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

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

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 140px 5% 60px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards ease-out;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(69, 243, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(69, 243, 255, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 45px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

button {
    padding: 15px 30px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--secondary-color), #2575fc);
    color: white;
    box-shadow: 0 4px 15px rgba(106, 17, 203, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(106, 17, 203, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* Interactive Phone Mockup */
.phone-mockup {
    width: 320px;
    height: 650px;
    background: #ffffff;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 0 8px rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    color: #1a1a2e; /* Light theme for the app mockup */
    font-family: 'Inter', sans-serif;
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: rotate(0deg) scale(1.02);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #eef2ff, #f9faff);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
}

.app-screen {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
}

.app-screen.hidden-right {
    transform: translateX(100%);
}

.app-screen.hidden-left {
    transform: translateX(-100%);
}

/* Screen 1: Welcome */
.app-header {
    text-align: center;
    margin-bottom: 25px;
}

.app-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    color: white;
}

.app-icon {
    width: 32px;
    height: 32px;
}

.app-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    color: #1e1b4b;
    margin-bottom: 5px;
}

.app-header p {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.mic-button-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mic-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
    z-index: 2;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mic-button svg {
    width: 30px;
    height: 30px;
}

.mic-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.app-feature-card {
    background: white;
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
}

.app-feature-icon {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #6366f1;
    flex-shrink: 0;
}

.app-feature-icon svg {
    width: 18px;
    height: 18px;
}

.app-feature-text h4 {
    font-size: 0.95rem;
    color: #1e1b4b;
    margin-bottom: 2px;
}

.app-feature-text p {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.3;
}

.screen-footer {
    margin-top: auto;
}

.app-btn-primary {
    width: 100%;
    padding: 14px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transition: transform 0.2s, background 0.2s;
}

.app-btn-primary:hover {
    background: #4f46e5;
    transform: scale(1.02);
}

.app-btn-primary svg {
    width: 18px;
    height: 18px;
}

.privacy-note {
    text-align: center;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 12px;
}

/* Screen 2: Quick Setup */
.setup-header {
    margin-bottom: 30px;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #eff6ff;
    color: #8b5cf6;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.app-badge svg {
    width: 12px;
    height: 12px;
}

.setup-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    color: #1e1b4b;
    line-height: 1.1;
    margin-bottom: 8px;
}

.setup-header p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}

.setup-form {
    flex: 1;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.app-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.app-input:focus {
    border-color: #6366f1;
}

.language-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.lang-option {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.lang-option:hover {
    border-color: #cbd5e1;
}

.lang-option.selected {
    border-color: #6366f1;
    background: #eff6ff;
    color: #1e1b4b;
}

.lang-option .check-icon {
    display: none;
    position: absolute;
    right: 8px;
    width: 16px;
    height: 16px;
    background: #6366f1;
    border-radius: 50%;
    color: white;
    justify-content: center;
    align-items: center;
}

.lang-option.selected .check-icon {
    display: flex;
}

.lang-option .check-icon svg {
    width: 10px;
    height: 10px;
}

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

/* Features Section */
.features {
    padding: 120px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
}

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

.feature-card {
    padding: 35px;
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 25px;
    display: inline-block;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    padding: 15px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

/* Architecture Section */
.architecture {
    padding: 120px 5%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.architecture-content {
    text-align: center;
    max-width: 850px;
}

.architecture-content h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.architecture-content p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

.architecture-visuals {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 100%;
}

.arch-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--card-border);
}

.hover-zoom:hover {
    transform: scale(1.03);
    z-index: 10;
}

/* Gallery Section */
.gallery {
    padding: 120px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.gallery-card {
    width: 100%;
    max-width: 350px;
    height: 700px;
    padding: 15px;
    border-radius: 30px;
    transition: transform 0.4s ease;
}

.gallery-card:hover {
    transform: translateY(-15px) scale(1.02);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Footer */
footer {
    border-top: 1px solid var(--card-border);
    padding: 50px 5%;
    margin-top: 80px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
}

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

.footer-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
        height: auto;
        min-height: auto;
    }
    
    .hero-content {
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .phone-mockup {
        margin-top: 30px;
        transform: rotate(0deg);
    }
    
    .hero-visual {
        height: auto;
    }
    
    .nav-links {
        display: none;
    }
}
