/* Home Page Specific Styles — with Dark Mode */

/* ── Dark mode overrides ────────────────────────────────────── */
[data-theme="dark"] .feature-card {
    background: rgba(30,41,59,0.7);
    border-color: rgba(30,136,229,0.15);
}

[data-theme="dark"] .feature-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

[data-theme="dark"] .feature-title       { color: var(--text-primary); }
[data-theme="dark"] .feature-description { color: var(--text-secondary); }
[data-theme="dark"] .home-subtitle       { color: var(--text-secondary); }

/* ════════════════════════════════════════
   STRUCTURE
════════════════════════════════════════ */
.home-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    position: relative;
}

.home-container {
    max-width: 600px;
    width: 100%;
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

.logo-container {
    margin-bottom: var(--space-xl);
    animation: slideInLeft 0.6s ease-out;
}

.logo-container img {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
    transition: transform var(--transition-slow);
}

.logo-container img:hover { transform: scale(1.05); }

.home-title {
    margin-bottom: var(--space-sm);
    animation: slideInRight 0.6s ease-out 0.2s both;
}

.home-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    font-weight: 400;
    animation: slideInRight 0.6s ease-out 0.3s both;
    line-height: 1.4;
    transition: color 0.3s;
}

.home-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 0.8s ease-out 0.5s both;
}

.home-actions .btn { min-width: 180px; padding: 1rem 2rem; }

/* Features */
.features-section {
    margin-top: var(--space-2xl);
    animation: fadeIn 0.8s ease-out 0.7s both;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.feature-card {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30,136,229,0.1);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-blue); }
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon        { font-size: 2.5rem; margin-bottom: var(--space-md); }
.feature-title       { font-size: 1.125rem; font-weight: 700; color: var(--dark-blue); margin-bottom: var(--space-sm); line-height: 1.3; transition: color 0.3s; }
.feature-description { font-size: 0.9375rem; color: var(--text-secondary); margin: 0; line-height: 1.5; transition: color 0.3s; }

/* Floating shapes */
.floating-shape { position: absolute; border-radius: 50%; opacity: 0.1; z-index: -1; animation: float 6s ease-in-out infinite; }
.shape-1 { width: 200px; height: 200px; background: var(--primary-blue);  top: 10%;  left: 5%;  animation-delay: 0s; }
.shape-2 { width: 150px; height: 150px; background: var(--primary-orange); bottom: 15%; right: 10%; animation-delay: 2s; }
.shape-3 { width: 100px; height: 100px; background: var(--primary-blue);  top: 60%;  left: 80%; animation-delay: 4s; }

@keyframes float {
    0%,100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-20px) rotate(10deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .home-wrapper    { padding: var(--space-md); }
    .home-container  { padding: var(--space-md) 0; }
    .logo-container  { margin-bottom: var(--space-lg); }
    .logo-container img { max-width: 280px; }
    .home-subtitle   { font-size: 1.25rem; margin-bottom: var(--space-xl); }
    .home-actions    { flex-direction: column; align-items: stretch; gap: var(--space-sm); }
    .home-actions .btn { width: 100%; min-width: 0; }
    .features-grid   { grid-template-columns: 1fr; gap: var(--space-md); }
    .feature-card    { padding: var(--space-lg); }
    .floating-shape  { display: none; }
}

@media (max-width: 480px) {
    .logo-container img  { max-width: 240px; }
    .home-subtitle       { font-size: 1.125rem; }
    .feature-card        { padding: var(--space-md); }
    .feature-icon        { font-size: 2rem; }
}
