/* style.css - Ultra Premium Glassmorphism Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #6366f1;   /* Indigo */
    --accent: #ec4899;    /* Pink */
    --bg-dark: #0f172a;   /* Deep Navy */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', sans-serif; }

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.15) 0%, transparent 25%);
    color: var(--text-main);
    min-height: 100vh;
    display: flex; flex-direction: column;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }

/* --- Navbar --- */
.navbar {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 15px 5%; /* Padding thoda kam kiya taki bada logo fit ho */
    background: rgba(15, 23, 42, 0.9); /* Thoda dark kiya better visibility ke liye */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky; 
    top: 0; 
    z-index: 100;
    height: 90px; /* Navbar ki height fix ki */
}

.logo {
    display: flex; 
    align-items: center; 
    gap: 15px; /* Logo aur Text ke beech gap badhaya */
    text-decoration: none;
}

/* Yahan Logo ka size badhaya hai */
.logo img { 
    height: 60px; /* Pehle 35px tha, ab 60px kar diya */
    width: auto; 
    object-fit: contain; /* Taki logo pichke nahi */
    border-radius: 8px;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.5)); /* Thoda glow add kiya */
}

.logo span { 
    font-size: 1.8rem; /* Text ka size bhi thoda badhaya */
    font-weight: 700; 
    background: linear-gradient(to right, #fff, #cbd5e1); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

.nav-links { display: flex; gap: 25px; align-items: center; list-style: none; }
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: white; color: var(--primary); }

.btn-cta {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 10px 24px; border-radius: 50px;
    color: white !important; font-weight: 600;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transition: transform 0.2s;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(236, 72, 153, 0.5); }

/* --- Hero & Tool --- */
.hero { text-align: center; padding: 80px 20px 40px 20px; }
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 700; }
.highlight {
    background: linear-gradient(to right, #818cf8, #f472b6);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { color: var(--text-muted); font-size: 1.2rem; max-width: 600px; margin: 0 auto 50px auto; }

.tool-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 8px; border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex; align-items: center;
    max-width: 700px; margin: 0 auto;
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}
.tool-box i { padding-left: 20px; color: var(--text-muted); font-size: 1.2rem; }
.tool-box input {
    flex: 1; background: transparent; border: none; outline: none;
    color: white; padding: 15px 20px; font-size: 1.1rem;
}
.btn-tool {
    background: white; color: black; border: none;
    padding: 12px 30px; border-radius: 50px;
    font-weight: 700; cursor: pointer; font-size: 1rem; transition: 0.3s;
}
.btn-tool:hover { background: #e2e8f0; }

/* --- Results --- */
.result-area { max-width: 700px; margin: 40px auto 0 auto; display: none; }
.result-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; padding: 0 10px; }
.tags-container {
    display: flex; flex-wrap: wrap; gap: 10px;
    background: var(--glass-bg); padding: 25px; border-radius: 20px;
    border: 1px solid var(--glass-border);
}
.tag {
    background: rgba(99, 102, 241, 0.15); color: #c7d2fe;
    padding: 8px 16px; border-radius: 50px; font-size: 0.9rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* --- Content Pages (About, Policies) --- */
.page-container { max-width: 800px; margin: 40px auto; padding: 40px; background: var(--glass-bg); border-radius: 24px; border: 1px solid var(--glass-border); }
.page-container h1 { font-size: 2.5rem; margin-bottom: 10px; color: white; }
.page-container h2 { font-size: 1.5rem; margin-top: 30px; margin-bottom: 15px; color: var(--primary); }
.page-container p, .page-container li { color: var(--text-muted); line-height: 1.7; margin-bottom: 15px; font-size: 1.05rem; }
.page-container ul { margin-left: 20px; }

/* --- Features Grid --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 5%;}
.card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    padding: 35px; border-radius: 24px; border: 1px solid var(--glass-border);
    transition: 0.3s; position: relative;
}
.card:hover { transform: translateY(-10px); border-color: var(--primary); }
.icon-box { width: 50px; height: 50px; background: rgba(99,102,241,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #818cf8; margin-bottom: 20px; }
.card h3 { margin-bottom: 10px; font-size: 1.3rem; }
.card p { color: var(--text-muted); }

/* --- Footer --- */
footer { margin-top: auto; padding: 50px 0; text-align: center; border-top: 1px solid var(--glass-border); background: rgba(15, 23, 42, 0.5); }
.footer-links a { margin: 0 15px; color: var(--text-muted); }
.footer-links a:hover { color: white; }

/* --- Modal --- */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); z-index: 1000; justify-content: center; align-items: center; }
.modal-content { background: linear-gradient(145deg, #1e293b, #0f172a); border: 1px solid rgba(255,255,255,0.2); width: 90%; max-width: 450px; padding: 40px; border-radius: 24px; text-align: center; position: relative; }
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 24px; cursor: pointer; }
.modal-list li { list-style: none; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; justify-content: left; font-size: 1.1rem; }
.modal-list i { color: #4ade80; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .tool-box { border-radius: 20px; padding: 5px; }
}