/* DeepClarity Frontend Styles */

/* Color Variables */
:root {
    --dark-blue: #1a365d;
    --light-blue: #e6f3ff;
    --orange: #ff6b35;
    --yellow: #ffd700;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-muted: #6c757d;
}

/* Global Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

/* Custom Background Classes */
.bg-dark-blue {
    background-color: var(--dark-blue) !important;
}

.bg-light-blue {
    background-color: var(--light-blue) !important;
}

.text-dark-blue {
    color: var(--dark-blue) !important;
}

/* Custom Button Classes */
.btn-white {
    background-color: var(--white);
    color: var(--dark-blue);
    border: 1px solid var(--white);
}

.btn-white:hover {
    background-color: var(--light-gray);
    color: var(--dark-blue);
}

.btn-dark-blue {
    background-color: var(--dark-blue);
    color: var(--white);
    border: 1px solid var(--dark-blue);
}

.btn-dark-blue:hover {
    background-color: #0f2a47;
    color: var(--white);
}

/* Navigation */
.navbar {
    background-color: var(--dark-blue) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-logo {
    text-decoration: none;
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--light-blue);
    line-height: 1;
    margin-top: 2px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--yellow) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #0f2a47 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Hero Illustration */
.hero-illustration {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.person {
    position: absolute;
    width: 80px;
    height: 120px;
}

.person-1 {
    left: 30%;
    top: 20%;
}

.person-2 {
    right: 30%;
    bottom: 20%;
}

.person .head {
    width: 40px;
    height: 40px;
    background-color: #fdbcb4;
    border-radius: 50%;
    margin: 0 auto 10px;
}

.person .body {
    width: 60px;
    height: 70px;
    border-radius: 10px;
    margin: 0 auto;
}

.yellow-shirt {
    background-color: var(--yellow);
}

.brown-shirt {
    background-color: #8b4513;
}

/* Trust Section */
.trust-section {
    margin-top: 2rem;
}

.profile-pics {
    display: flex;
    gap: -10px;
}

.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--yellow), var(--orange));
    border: 3px solid var(--white);
    margin-left: -10px;
}

.profile-pic:first-child {
    margin-left: 0;
}

/* Stages Diagram */
.stages-diagram {
    position: relative;
    padding: 2rem 0;
}

.stage-label-left {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.stages-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 4rem;
}

.stage-item {
    text-align: center;
    flex: 1;
}

.stage-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: rotate(45deg);
}

.stage-1, .stage-2, .stage-3 {
    background: linear-gradient(135deg, var(--light-blue), #b3d9ff);
}

.stage-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    transform: rotate(-45deg);
}

.stage-info h5 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.progress-label {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* Clarity Cards */
.clarity-card {
    border-radius: 20px;
    transition: all 0.3s ease;
}

.clarity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.clarity-icon i {
    font-size: 2.5rem;
}

/* Toolkit Cards */
.toolkit-card {
    border-radius: 20px;
    transition: all 0.3s ease;
}

.toolkit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.toolkit-icon i {
    font-size: 2.5rem;
}

/* Pricing Cards */
.pricing-card {
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.pricing-card .card-header {
    border-radius: 20px 20px 0 0;
}

.pricing-icon i {
    font-size: 2.5rem;
}

.pricing-amount {
    margin: 1rem 0;
}

.pricing-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Testimonial Cards */
.testimonial-card {
    border-radius: 15px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

/* Journey Cards */
.journey-card {
    border-radius: 20px;
    transition: all 0.3s ease;
}

.journey-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.number-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--dark-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

.floating-icon {
    animation: float 3s ease-in-out infinite;
}

.floating-icon:nth-child(2) {
    animation-delay: 1s;
}

.floating-icon:nth-child(3) {
    animation-delay: 2s;
}

/* Feature Cards */
.feature-card {
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    background: #fff;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #0d6efd;
}

.feature-icon i {
    font-size: 3rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: scale(1.1);
}

/* Course Cards */
.course-card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.course-icon i {
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

.course-card:hover .course-icon i {
    transform: scale(1.1);
}

/* Resource Cards */
.resource-card {
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    background: #fff;
}

.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #0d6efd;
}

.resource-icon i {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.resource-card:hover .resource-icon i {
    transform: scale(1.1);
}

/* Statistics */
.stat-item {
    padding: 1.5rem 1rem;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(102, 16, 242, 0.1) 100%);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
}

/* Contact Items */
.contact-item {
    padding: 2rem 1rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* Buttons */
.btn {
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Sections */
section {
    position: relative;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* Typography */
.display-4, .display-5 {
    font-weight: 700;
    line-height: 1.2;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #0d6efd;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .floating-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0d6efd;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0b5ed7;
}
