:root {
    --primary-color: #4F46E5; /* Indigo 600 */
    --primary-hover: #4338CA; /* Indigo 700 */
    --secondary-color: #10B981; /* Emerald 500 */
    --text-color: #1F2937; /* Gray 800 */
    --text-light: #6B7280; /* Gray 500 */
    --bg-color: #F9FAFB; /* Gray 50 */
    --card-bg: #FFFFFF;
    --nav-bg: rgba(255, 255, 255, 0.8);
    --hero-bg-gradient: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #6366F1; /* Indigo 500 */
        --primary-hover: #818CF8; /* Indigo 400 */
        --secondary-color: #34D399; /* Emerald 400 */
        --text-color: #F3F4F6; /* Gray 100 */
        --text-light: #9CA3AF; /* Gray 400 */
        --bg-color: #111827; /* Gray 900 */
        --card-bg: #1F2937; /* Gray 800 */
        --nav-bg: rgba(17, 24, 39, 0.8);
        --hero-bg-gradient: linear-gradient(135deg, #111827 0%, #1F2937 100%);
        --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    }
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s, background-color 0.2s;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px -1px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid rgba(156, 163, 175, 0.3); /* Transparent border */
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: -0.025em;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4.5rem;
    background-color: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.025em;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
}

.app-logo {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

.nav-cta {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 6rem;
    background: var(--hero-bg-gradient);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    animation: fadeUp 0.8s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px;
    animation: fadeInRight 1s ease-out 0.2s backwards;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background-color: #000;
    border-radius: 40px;
    border: 8px solid #1F2937;
    overflow: hidden;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5), 
        0 0 0 2px rgba(255, 255, 255, 0.1);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.app-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mockup-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 40%);
    pointer-events: none;
    z-index: 2;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

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

.feature-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

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

/* Specs Section */
.specs {
    padding: 6rem 0;
    background-color: var(--card-bg);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.specs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.specs-content {
    order: 1;
}

.specs-visual {
    order: 2;
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0.2;
}

.c1 { width: 300px; height: 300px; animation: pulse 4s infinite; }
.c2 { width: 200px; height: 200px; animation: pulse 4s infinite 1s; }
.c3 { width: 100px; height: 100px; animation: pulse 4s infinite 2s; background: var(--primary-color); opacity: 0.1; }

.specs-list {
    margin-top: 2rem;
}

.specs-list li {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.spec-desc {
    color: var(--text-light);
}

/* Footer */
.footer {
    padding: 4rem 0;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(0,0,0,0.05);
}

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

.footer-brand .logo {
    display: inline;
    margin: 0;
}

.footer-logo-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand .app-logo {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.875rem;
}

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

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.2; }
    50% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(0.9); opacity: 0.2; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Simplified for MVP */
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .specs-container {
        grid-template-columns: 1fr;
    }
    
    .specs-content { order: 2; }
    .specs-visual { order: 1; margin-bottom: 2rem; height: 300px; }
    
    .footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--card-bg);
    color: var(--text-color);
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-weight: 500;
    font-size: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (prefers-color-scheme: dark) {
    .toast {
        border: 1px solid rgba(99, 102, 241, 0.3);
    }
}
