/* Home Page Styles for Data Strategy Weekly */

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Color Variables based on Logo */
:root {
    --blue-gradient-start: #2563eb;
    --blue-gradient-end: #38bdf8;
    --purple-gradient-start: #8b5cf6;
    --purple-gradient-end: #d946ef;
    --orange-gradient-start: #f97316;
    --orange-gradient-end: #facc15;
    --primary-color: #2563eb;
    --secondary-color: #8b5cf6;
    --accent-color: #f97316;
    --light-bg: #f8fafc;
    --dark-bg: #1e293b;
}

/* Header Styles */
header {
    background-color: white;
}

.logo {
    max-width: 150px;
    height: auto;
}

h1 {
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 80px 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 2rem;
}

.hero-image img {
    border: 8px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(to right, var(--blue-gradient-start), var(--blue-gradient-end));
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
    background: linear-gradient(to right, var(--purple-gradient-start), var(--purple-gradient-end));
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2);
}

/* Features Section */
.features {
    background-color: white;
    padding: 80px 0;
}

.section-title {
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--blue-gradient-start), var(--blue-gradient-end));
    border-radius: 2px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--blue-gradient-start), var(--purple-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

/* How It Works Section */
.how-it-works {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 80px 0;
}

.steps {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.steps::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 4px;
    background: linear-gradient(to bottom, var(--blue-gradient-start), var(--purple-gradient-end));
    border-radius: 2px;
}

.step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-gradient-start), var(--blue-gradient-end));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-right: 20px;
    flex-shrink: 0;
    z-index: 1;
}

.step-content {
    background-color: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
}

.step-content h4 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Sign Up Section */
.signup {
    background-color: white;
    padding: 80px 0;
}

.signup-card {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.signup-card h2 {
    color: var(--dark-bg);
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 500;
    color: var(--dark-bg);
}

.form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 80px 0;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-content {
    position: relative;
    padding-top: 20px;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 5rem;
    color: #e2e8f0;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author h5 {
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 40px 0;
}

.footer-logo {
    max-width: 100px;
    height: auto;
}

.footer-link {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

/* Modal */
.modal-content {
    border-radius: 12px;
    border: none;
}

.modal-header {
    background: linear-gradient(to right, var(--blue-gradient-start), var(--blue-gradient-end));
    color: white;
    border-radius: 12px 12px 0 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-image {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .steps::before {
        left: 22px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .signup-card {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .steps::before {
        left: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .signup-card {
        padding: 20px;
    }
}
