/* --- Variables & Reset --- */
:root {
    --bg-dark: #0f0f1a;
    --bg-darker: #08080f;
    --bg-card: #1a1a2e;
    --primary: #00d2ff; /* Ice Blue */
    --secondary: #7000ff; /* Purple Neon */
    --text-main: #e0e0e0;
    --text-muted: #a0a0b0;
    --white: #ffffff;
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.text-center {
    text-align: center;
}

/* --- Typography --- */
h1, h2, h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    margin: 10px auto 0;
}

/* --- Header & Nav --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
    background: rgba(15, 15, 26, 0.9);
}

header.sticky {
    padding: 10px 0;
    background: rgba(8, 8, 15, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(0, 210, 255, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    text-transform: uppercase;
}

.logo i {
    color: var(--primary);
    margin-right: 5px;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

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

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

.nav-links i {
    margin-right: 5px;
}

/* --- Burger Menu --- */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    background-image: url('../img/hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15,15,26,0.7), rgba(15,15,26,0.95));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-main);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 10px;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), #00aaff);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--bg-dark);
}

/* --- About Section --- */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-text {
    max-width: 800px;
    text-align: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.about-list {
    text-align: left;
    margin-top: 2rem;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.about-list li {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.about-list li i {
    color: var(--primary);
    width: 25px;
    margin-right: 10px;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(112, 0, 255, 0.15);
}

.feature-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
    background: -webkit-linear-gradient(var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Download Section --- */
.download-section {
    background: linear-gradient(to right, rgba(0, 210, 255, 0.1), rgba(112, 0, 255, 0.1));
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: var(--transition);
    min-width: 200px;
}

.store-btn i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.google {
    background-color: var(--white);
    color: #333;
}

.apple {
    background-color: #333;
    color: var(--white);
}

.store-btn:hover {
    transform: scale(1.05);
}

.disclaimer-small {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
}

/* --- Tips Section --- */
.tips-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
}

.tip-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 20px;
    margin-top: 5px;
}

.tip-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--white);
}

.tip-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Safety Section --- */
.safety-section {
    background-color: #0e1215;
    border-top: 1px solid #222;
}

.safety-box {
    border: 1px solid rgba(0, 210, 255, 0.2);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.safety-box h2 i {
    color: var(--primary);
    margin-right: 10px;
}

.safety-box p {
    color: var(--text-muted);
    margin-top: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Contact Section --- */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info, .contact-form-box {
    flex: 1;
    min-width: 300px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.contact-info i {
    color: var(--primary);
    width: 30px;
    text-align: center;
    margin-right: 10px;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-card);
    margin-right: 10px;
    color: var(--white);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
}

/* --- Form --- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    font-size: 0.9rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-card);
    border: 1px solid #333;
    border-radius: 5px;
    color: var(--text-main);
    font-family: var(--font-main);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.error-msg {
    color: #ff4d4d;
    font-size: 0.8rem;
    display: none;
    margin-top: 5px;
}

.submit-btn {
    width: 100%;
    border-radius: 5px;
}

.success-message {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 210, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 5px;
}

.success-message i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* --- Footer --- */
footer {
    background-color: #050508;
    padding: 50px 0 20px;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-links ul {
    display: flex;
    gap: 20px;
}

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

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
    color: #555;
    font-size: 0.8rem;
}

.legal-text {
    margin-top: 10px;
}

/* --- Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    border: 2px solid var(--primary);
    border-radius: 5px;
}

.close-lightbox {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* --- Privacy Page Specific --- */
.privacy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.last-updated {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-style: italic;
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.privacy-section p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.privacy-section ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* --- Media Queries --- */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--bg-dark);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 50px;
        border-left: 1px solid #333;
    }

    .nav-links li {
        margin: 20px 0;
        opacity: 0;
    }

    .burger {
        display: block;
    }

    .nav-active {
        transform: translateX(0%);
    }

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

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .tips-list {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}