/* GLOBAL SETTINGS - ANTIQUE GOLD & CHARCOAL */
:root {
    --primary: #967425; /* Antique Bronze/Gold */
    --primary-light: #C49A36;
    --dark-bg: #0A0A0A; /* Pure Black */
    --card-bg: #141414; /* Dark Grey */
    --text-main: #E0E0E0;
    --text-muted: #888888;
    --border: rgba(150, 116, 37, 0.3); /* Gold Border */
    --shadow: 0 10px 40px rgba(0,0,0,0.7);
    
    /* FONTS */
    /* Rajdhani is the new Sci-Fi/Tech Header font */
    --font-head: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* LIGHT MODE OVERRIDES */
body.light-mode {
    --dark-bg: #F5F5F7;
    --card-bg: #FFFFFF;
    --text-main: #111827;
    --text-muted: #4B5563;
    --border: #D1D5DB;
    --shadow: 0 10px 20px rgba(0,0,0,0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); background-color: var(--dark-bg); color: var(--text-main); line-height: 1.6; transition: background-color 0.3s, color 0.3s; }

/* Apply Sci-Fi font to headers */
h1, h2, h3, h4, .logo, button, .gp-large { font-family: var(--font-head); }

a { text-decoration: none; color: inherit; transition: 0.3s; }

/* HEADER */
header { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 0 5%; height: 70px;
    background: rgba(10, 10, 10, 0.95); 
    position: sticky; top: 0; z-index: 100; 
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: 0.3s;
}
body.light-mode header { background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid #ccc; }

.logo { 
    font-weight: 700; font-size: 1.5rem; /* Increased for new font */
    color: var(--text-main); 
    display: flex; align-items: center; gap: 8px; 
    text-transform: uppercase; letter-spacing: 1px; 
}
body.light-mode .logo { color: #111827; }
.logo span { color: var(--primary); }

.nav-group { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; gap: 25px; }
.nav-links a { 
    font-weight: 600; color: var(--text-muted); 
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; 
    font-family: var(--font-head); /* Tech font for links */
}
.nav-links a:hover { color: var(--primary); }

.hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-main); }
body.light-mode .hamburger { color: #111827; }

.theme-switch { 
    cursor: pointer; background: transparent; border: 1px solid var(--border); 
    width: 35px; height: 35px; border-radius: 50%; 
    color: var(--text-main); font-size: 1rem; 
    display: flex; justify-content: center; align-items: center; transition: 0.3s; 
}
body.light-mode .theme-switch { color: #111827; border-color: #ccc; }
.theme-switch:hover { border-color: var(--primary); color: var(--primary); }


/* HERO */
.hero { 
    position: relative; 
    height: 70vh; 
    min-height: 500px; 
    display: flex; flex-direction: column; justify-content: center; align-items: center; 
    text-align: center; overflow: hidden; 
}

.video-bg { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    object-fit: cover; z-index: -2; opacity: 0.6; 
}

.overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(to bottom, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.8) 80%, var(--dark-bg) 100%); 
    z-index: -1; 
}
body.light-mode .overlay { 
    background: linear-gradient(to bottom, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.8) 80%, var(--dark-bg) 100%); 
}

.hero h1 { 
    font-size: 4rem; font-weight: 700; margin-bottom: 10px; letter-spacing: 0px; 
    line-height: 1; color: var(--text-main); text-transform: uppercase;
}
.hero span { 
    /* Removed text-shadow to fix blurriness */
    background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: var(--primary); 
}
.hero p { 
    font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; font-weight: 400; 
}

/* APPS GRID */
.apps-section { padding: 60px 5%; max-width: 1400px; margin: 0 auto; }
.section-title { 
    text-align: center; font-size: 2.5rem; margin-bottom: 40px; 
    font-weight: 700; color: var(--text-main); text-transform: uppercase; letter-spacing: 2px; 
}
.section-title span { color: var(--primary); }

.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; }

.app-card { 
    background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; 
    padding: 35px 25px; text-align: center; transition: 0.4s; 
    flex: 1 1 300px; max-width: 360px; position: relative; overflow: hidden; 
    box-shadow: var(--shadow); 
}
.app-card:hover { transform: translateY(-5px); border-color: var(--primary); }

.app-icon { width: 85px; height: 85px; border-radius: 20px; margin-bottom: 20px; object-fit: cover; border: 1px solid var(--border); }
.app-card h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--text-main); text-transform: uppercase; }
.app-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 25px; line-height: 1.5; min-height: 60px; }

/* NEW GOOGLE PLAY BUTTON (Taller, Narrower) */
.gp-button {
    display: inline-flex; align-items: center; justify-content: center;
    background: #000; border: 1px solid var(--border); border-radius: 8px;
    padding: 12px 20px; /* Increased padding (Height) */
    gap: 12px; transition: 0.3s; 
    width: auto; min-width: 220px; /* Narrower but fixed min-width */
    margin: 0 auto;
}
.gp-button:hover { border-color: var(--primary); transform: scale(1.02); box-shadow: 0 0 15px rgba(150, 116, 37, 0.3); }
.gp-icon { font-size: 26px; color: #fff; }
.gp-text { text-align: left; line-height: 1; }
.gp-small { font-size: 0.65rem; color: #ccc; text-transform: uppercase; display: block; font-family: var(--font-body); letter-spacing: 0.5px;}
.gp-large { font-size: 1.1rem; color: #fff; font-weight: 700; display: block; letter-spacing: 0.5px; }

/* FEATURES */
.features { 
    background: var(--card-bg); padding: 60px 5%; text-align: center; 
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 40px; 
}
.features h2 { color: var(--text-main); margin-bottom: 40px; font-size: 2.2rem; font-weight: 700; text-transform: uppercase; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.feature-item { padding: 15px; border-radius: 8px; }
.feature-icon { font-size: 2rem; margin-bottom: 15px; color: var(--primary); }
.feature-item h4 { font-size: 1.3rem; margin-bottom: 10px; color: var(--text-main); font-weight: 700; text-transform: uppercase; }
.feature-item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }

/* CONTACT - Outline Button Style */
.contact { padding: 40px 5%; max-width: 800px; margin: 0 auto; text-align: center; }
input, textarea { 
    width: 100%; padding: 15px; margin-bottom: 15px; 
    border: 1px solid var(--border); border-radius: 6px; 
    font-family: var(--font-body); font-size: 0.95rem; 
    transition: 0.3s; background: rgba(255,255,255,0.03); color: var(--text-main); 
}
input:focus, textarea:focus { border-color: var(--primary); outline: none; background: rgba(255,255,255,0.08); }

/* OUTLINE BUTTON STYLE */
button { 
    width: 100%; padding: 15px; 
    background: transparent; /* Transparent BG */
    color: var(--text-main); /* White Text */
    border: 2px solid var(--primary); /* Gold Border */
    border-radius: 6px; font-weight: 700; font-size: 1.1rem; 
    cursor: pointer; transition: 0.3s; text-transform: uppercase; letter-spacing: 2px; 
}
button:hover { 
    background: var(--primary); /* Fill Gold on Hover */
    color: #000; /* Text turns black for contrast */
    transform: translateY(-2px); 
    box-shadow: 0 0 20px rgba(150, 116, 37, 0.4);
}
/* Light Mode Button Override */
body.light-mode button { color: #000; border-color: var(--primary); }
body.light-mode button:hover { color: #fff; }

/* FOOTER - Stacked & Small */
footer { 
    background: var(--dark-bg); padding: 30px 5%; 
    text-align: center; border-top: 1px solid var(--border); 
    color: var(--text-muted); font-size: 0.8rem; 
}
.footer-logo { height: 25px; margin-bottom: 10px; opacity: 0.8; }
.footer-stack { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.legal-links { 
    display: flex; flex-direction: row; gap: 10px; align-items: center; justify-content: center;
    font-size: 0.75rem; opacity: 0.8; margin-top: 5px;
}
.legal-links button { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px;}
.legal-links button:hover { color: var(--primary); }

/* MODALS */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); backdrop-filter: blur(8px); }
.modal-content { background-color: var(--card-bg); color: var(--text-main); margin: 5% auto; padding: 40px; border: 1px solid var(--border); width: 90%; max-width: 700px; border-radius: 12px; position: relative; max-height: 80vh; overflow-y: auto; }
.close { color: var(--text-muted); float: right; font-size: 28px; cursor: pointer; }

/* MOBILE RESPONSIVE FIXES */
@media (max-width: 768px) {
    header { padding: 0 20px; }
    .hero h1 { font-size: 2.5rem; }
    .hamburger { display: block; margin-right: 20px; }
    .nav-group { gap: 10px; }
    
    .nav-links { 
        display: none; position: absolute; top: 70px; left: 0; width: 100%; 
        background: var(--dark-bg); flex-direction: column; padding: 30px; 
        border-bottom: 1px solid var(--border); align-items: center;
    }
    .nav-links.active { display: flex; }
}