/* --- Premium Startup Variables --- */
:root {
    --bg-color: #000000;         /* Absolute Black */
    --card-bg: #050505;          /* Elevated Black */
    --text-main: #ffffff;        /* Pure White */
    --text-muted: #888888;       /* Subtle Gray */
    --accent-color: #ffffff;     
    --accent-glow: rgba(255, 255, 255, 0.1);
    --card-border: rgba(255, 255, 255, 0.08); 
    --border-radius: 24px;       
}

/* --- Base Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }

/* --- Navbar (Fixed Alignment) --- */
.navbar {
    display: flex; 
    justify-content: space-between; 
    align-items: center; /* Centers items vertically */
    padding: 1.2rem 10%;
    background: rgba(0, 0, 0, 0.8); 
    backdrop-filter: blur(12px);
    position: sticky; 
    top: 0; 
    z-index: 100; 
    border-bottom: 1px solid var(--card-border);
}
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -1px; }

.nav-links {
    display: flex;
    align-items: center; /* Ensures text and button are on the same line */
    gap: 2rem;
}

.nav-links a { 
    text-decoration: none; 
    color: var(--text-muted); 
    font-weight: 500; 
    transition: 0.3s; 
    font-size: 0.95rem;
}
.nav-links a:hover { color: var(--text-main); }

/* Special Navbar Button Styling */
.nav-links .btn-outline {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--card-border);
    border-radius: 100px; 
    color: var(--text-main); /* White text */
    background: rgba(255,255,255,0.05);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-links .btn-outline:hover {
    background: #ffffff;    /* Solid White background */
    color: #000000;         /* Black text so it's visible */
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Ensure the general btn-outline also behaves correctly */
.btn-outline:hover {
    background: var(--text-main);
    color: #000 !important; /* Forces text to black on hover */
}

/* --- Startup Hero Section --- */
.hero-startup {
    padding: 8rem 5% 6rem; /* Reduced top padding from 12rem */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    
    /* Subtle Spotlight + Grid Pattern */
    background-color: #000;
    background-image: 
        radial-gradient(circle at top, rgba(255,255,255,0.05) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

.badge {
    background: #111;
    border: 1px solid #222;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.startup-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.startup-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3.5rem;
}

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

/* --- Buttons --- */
.btn-primary {
    background-color: var(--text-main);
    color: #000;
    padding: 0.8rem 2.2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--text-main);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-main);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    padding: 0.8rem 2.2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.4s;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: var(--text-main);
    color: #000;
}

/* --- Store & Sections --- */
.store-section, .tracker-section, .contact-section { padding: 8rem 5%; border-top: 1px solid var(--card-border); }
.section-header { text-align: center; margin-bottom: 5rem; }
.section-header h2 { font-size: 3rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 1rem; }
.subtitle { color: var(--text-muted); font-size: 1.1rem; }

/* --- Capsule Toggle --- */
.capsule-wrapper {
    position: relative; display: inline-flex; align-items: center;
    background-color: #0a0a0a; border: 1px solid var(--card-border);
    border-radius: 40px; padding: 4px; margin: 2rem auto 0;
}
.capsule-bg {
    position: absolute; top: 4px; height: calc(100% - 8px);
    background-color: #1a1a1a; border-radius: 30px; z-index: 1;
    transition: 0.3s ease;
}
.toggle-btn {
    position: relative; z-index: 2; padding: 10px 28px; border: none; background: transparent;
    color: var(--text-muted); font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: 0.3s;
}
.toggle-btn.active { color: #fff; }

/* --- Product Grid --- */
.product-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 350px));
    justify-content: center; gap: 2rem; max-width: 1200px; margin: 0 auto;
}

.product-card {
    /* Change from #000 to a slightly lighter grey */
    background: #0f0f0f; 
    border: 1px solid #1a1a1a; /* Subtle border */
    border-radius: 24px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: #333; /* Highlights on hover */
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.product-image {
    width: 100%; height: 220px; background-color: #050505; border: 1px solid #111;
    border-radius: 4px; margin-bottom: 2rem; object-fit: cover;
}
.card-title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.card-price { color: var(--text-muted); font-size: 1.1rem; font-weight: 500; margin-bottom: 1rem; }
.card-specs { list-style: none; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; flex-grow: 1; }
.card-specs li { margin-bottom: 0.5rem; }

/* --- Tracker Section --- */
.tracker-section { 
    background: radial-gradient(circle at center, #0a0a0a 0%, #000 100%);
}
.tracker-card {
    background: linear-gradient(145deg, #080808, #020202); 
    padding: 5rem 4rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08); 
    text-align: center; width: 100%; max-width: 650px; margin: 0 auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.tracker-card h2 {
    font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem;
    background: linear-gradient(to bottom, #fff, #666);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* Glass Input Group */
.input-group {
    background: rgba(255, 255, 255, 0.03);
    padding: 8px; border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex; gap: 8px; margin: 3rem auto 0;
}
.input-group input {
    background: transparent; border: none; padding: 1rem 1.5rem;
    color: white; flex: 1; font-size: 1.05rem; outline: none;
}

/* Status Result Box */
.result-box {
    margin-top: 3rem; padding: 2.5rem; text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

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

/* --- Admin Panel (Dashboard) --- */
.stats-container { display: flex; justify-content: center; gap: 2rem; margin: 2rem auto; max-width: 1000px; padding: 0 5%; }
.stat-card { background: var(--card-bg); border: 1px solid var(--card-border); padding: 2rem; flex: 1; text-align: center; border-radius: 16px; }
.stat-value { font-size: 2.5rem; font-weight: 800; color: #fff; }

.admin-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; max-width: 1200px; margin: 4rem auto; padding: 0 5%; }
.admin-card { background: var(--card-bg); border: 1px solid var(--card-border); padding: 2rem; border-radius: 16px; }

.data-item { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem; border-bottom: 1px solid var(--card-border); }

/* --- Contact Section --- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1000px; margin: 0 auto; }
.contact-info { background: var(--card-bg); padding: 3rem; border-radius: var(--border-radius); border: 1px solid var(--card-border); text-align: center; }
.map-container { border-radius: var(--border-radius); overflow: hidden; border: 1px solid var(--card-border); filter: grayscale(1); height: 400px; }

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 1rem; padding: 1.5rem 5%; }
    .nav-links { width: 100%; justify-content: space-between; gap: 0; }
   .hero-startup {
        padding: 5rem 5% 4rem; /* Much tighter for mobile */
    }
    
    .startup-title {
        font-size: 2.8rem;
        margin-top: 1rem;
    }

    /* Fixed Navbar Stack for Mobile */
    .navbar {
        padding: 1rem 5%;
    }
    .hero-btns { flex-direction: column; width: 100%; }
    .input-group { flex-direction: column; background: transparent; border: none; padding: 0; }
    .input-group input { background: #111; border-radius: 12px; margin-bottom: 0.5rem; border: 1px solid #222; }
    .tracker-card { padding: 4rem 1.5rem; }
}

.trust-strip {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    background: #050505;
    border-bottom: 1px solid #111;
    flex-wrap: wrap;
}
.trust-item { color: #555; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.trust-item i { color: #fff; margin-right: 8px; }

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
}