/* --- Variables (Hostinger Theme Colors) --- */
:root {
    --primary: #673de6;       /* Hostinger Purple */
    --primary-dark: #5025d1;
    --secondary: #2f1c6a;     /* Dark Navy */
    --text-dark: #2d2d2d;
    --text-light: #6b7280;
    --bg-light: #f4f5f7;
    --white: #ffffff;
    --accent-green: #00b090;
    --shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
    --font: 'Poppins', sans-serif;
}

/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- FIXED NAVIGATION --- */
.navbar {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: 100%;
}

/* Flex Container for Nav Items */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; 
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    text-decoration: none;
    flex-shrink: 0;
}

.logo .dot { color: var(--primary); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0 auto; /* Pushes links to the center */
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

/* Button Alignment Fix */
.navbar .btn-primary {
    margin-left: 20px;
    flex-shrink: 0;
}

.menu-toggle {
    display: none; 
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, background 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-left: 10px;
    transition: 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: var(--white);
}

/* --- FIXED HERO SECTION --- */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9ff 0%, #ece9fb 100%);
    position: relative;
    overflow: hidden; 
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Strict 50% split */
    align-items: center;
    gap: 60px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--secondary);
    margin-bottom: 20px;
}

.hero-text .highlight {
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.hero-text .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(103, 61, 230, 0.2);
    z-index: -1;
    border-radius: 5px;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 90%;
}

.trust-badge {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-badge i { color: var(--accent-green); }

/* --- Hero Animation & Image Fixes --- */
.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-img {
    width: 100%;
    max-width: 450px;
    animation: float 6s ease-in-out infinite;
}

/* Floating Cards Fix */
.floating-card {
    position: absolute;
    background: var(--white);
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    white-space: nowrap; /* Prevents text breaking */
    animation: float 5s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 15%;
    left: 0; 
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 20%;
    right: 10px;
    animation-delay: 2s;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: #eef2ff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box.green {
    background: #e6fffa;
    color: var(--accent-green);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* --- Features Section --- */
.features {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid #eee;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: #eef2ff;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.icon-circle.purple { background: #f3e8ff; color: #9333ea; }
.icon-circle.pink { background: #fce7f3; color: #db2777; }

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
    .navbar .container {
        padding: 0 15px;
    }
    
    .nav-links, .navbar .btn-primary {
        display: none; /* Simple mobile hide for now */
    }
    
    .menu-toggle {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-text h1 { font-size: 2.5rem; }
    
    .hero-text p { margin: 0 auto 30px auto; }
    
    .hero-image { 
        margin-top: 20px; 
    }
    
    .floating-card { display: none; } /* Hide floaters on mobile to prevent clutter */
}
/* --- PREDICTOR SUGGESTION STYLES --- */

.suggestion-list {
    list-style: none;
    background: #f0fdf4; /* Light Green Background */
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #bbf7d0;
}

.suggestion-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #dcfce7;
}

.suggestion-list li:last-child {
    border-bottom: none;
}

.badge-safe {
    background: #00b090;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}
/* --- FOOTER DEVELOPER BAR --- */
footer {
    background: var(--secondary);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: auto; /* Pushes footer to bottom if content is short */
}

.developer-credit {
    margin-top: 10px;
    font-size: 0.85rem;
    opacity: 0.8;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 10px;
}

.developer-credit a {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
}

/* --- FLOATING WHATSAPP BUTTON --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
    text-decoration: none; /* Removes underline */
}

.whatsapp-float:hover {
    background-color: #1ebc57;
    transform: scale(1.1); /* Slight zoom effect */
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}

.whatsapp-float i {
    margin-top: 2px; /* Minor alignment fix for the icon */
}

/* Mobile Adjustment: Move it slightly up so it doesn't block content */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}