/* === Final Styles for Landing Page (index.html) === */

/* --- Base Setup --- */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #F8F9FA;
    color: #111;
    position: relative;
    overflow-x: hidden;
}
/* Decorative Blobs */
body::before, body::after {
    content: ''; position: fixed; z-index: -1; border-radius: 50%;
    filter: blur(100px); opacity: 0.6;
}
body::before { width: 500px; height: 500px; top: -15%; left: -20%; background-color: #C7D2FE; }
body::after { width: 600px; height: 600px; bottom: -20%; right: -20%; background-color: #BFDBFE; }

.dashboard { display: flex; min-height: 100vh; }
.main-content { flex-grow: 1; padding: 24px 64px; }

/* --- Header --- */
.main-header { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.btn { text-decoration: none; padding: 10px 20px; border-radius: 8px; font-weight: 600; font-size: 14px; border: 1px solid transparent; }
.btn-primary { background-color: #111827; color: #FFF; }
.btn-secondary { background-color: #FFFFFF; color: #1F2937; border-color: #D1D5DB; }

/* --- Hero Section --- */
.hero-section { display: flex; align-items: center; justify-content: center; gap: 100px; margin-top: 60px; }
.hero-text { max-width: 650px; }

.hero-title-meaning { display: flex; flex-wrap: wrap; gap: 15px 25px; margin-bottom: 40px; }
.hero-title-meaning span { font-size: 24px; font-weight: 500; color: #4B5563; }
.hero-title-meaning strong { font-size: 52px; font-weight: 800; color: #4F46E5; margin-right: 4px; }

.section-title { font-size: 20px; font-weight: 600; color: #111827; margin-top: 40px; margin-bottom: 20px; }

/* --- Features Grid --- */
.features-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature-link { text-decoration: none; display: block; }
.key-feature-card {
    background-color: #FFFFFF; border: 1px solid #E5E7EB; border-radius: 12px;
    padding: 20px; font-size: 16px; font-weight: 600; color: #374151;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    transition: all 0.2s ease-in-out; position: relative; overflow: hidden;
}
.key-feature-card i { font-size: 18px; }
.key-feature-card::after {
    content: 'Click to learn more'; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(79, 70, 229, 0.9); color: #FFFFFF; font-weight: 600;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.feature-link:hover .key-feature-card { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(79, 70, 229, 0.1); border-color: #C7D2FE; color: #4F46E5; }
.feature-link:hover .key-feature-card::after { opacity: 1; }

/* --- Action Buttons --- */
.main-actions-container { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 40px; }
.button-row { display: flex; gap: 20px; }
.btn-hero-primary, .btn-hero-secondary {
    text-decoration: none; border-radius: 12px; font-size: 18px; font-weight: 600;
    padding: 18px 36px; text-align: center; transition: all 0.3s ease;
    border: 2px solid transparent; white-space: nowrap;
}
.btn-hero-primary { background-color: #4F46E5; color: #FFFFFF; box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2); }
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3); }
.btn-hero-secondary { background-color: transparent; color: #1F2937; border-color: #D1D5DB; }
.btn-hero-secondary:hover { background-color: #FFFFFF; border-color: #4F46E5; color: #4F46E5; }
.about-link { color: #4B5563; text-decoration: none; font-weight: 500; }
.about-link:hover { color: #4F46E5; }

/* --- Phone Image --- */
.hero-image img {
    max-width: 320px; box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    border-radius: 28px; border: 8px solid #111;
}

/* ---== Responsive Breakpoints ==--- */

/* For Tablets and Medium Screens */
@media (max-width: 1100px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        margin-top: 40px;
    }
    .hero-image { display: none; }
    .hero-title-meaning { justify-content: center; }
}

/* For Mobile Phones */
@media (max-width: 600px) {
    .main-content { padding: 24px; }
    .hero-title-meaning span { font-size: 20px; }
    .hero-title-meaning strong { font-size: 42px; }
    .features-grid { grid-template-columns: 1fr; }
    
    /* This is the key fix: It targets the correct button container */
    .button-row { 
        flex-direction: column; 
        align-items: stretch;
        gap: 12px;
        width: 100%; /* Make it take up full width for stretching */
    }
}