/* Custom CSS for Shopify Homepage Replica */

:root {
    --shopify-green: #5C6AC4;
    --shopify-dark-green: #4F46E5;
    --shopify-light-green: #F0F5FF;
    --shopify-success: #10B981;
    --shopify-text-dark: #1F2937;
    --shopify-text-light: #6B7280;
    --shopify-bg-light: #F9FAFB;
    --shopify-border: #E5E7EB;
}

/* Typography */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--shopify-text-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--shopify-text-dark);
}

/* Custom Button Styles */
.btn-shopify-primary {
    background-color: var(--shopify-green);
    border-color: var(--shopify-green);
    color: white;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-shopify-primary:hover {
    background-color: var(--shopify-dark-green);
    border-color: var(--shopify-dark-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand svg {
    transition: transform 0.2s ease;
}

.navbar-brand:hover svg {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: var(--shopify-text-dark) !important;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--shopify-green) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--shopify-light-green);
    color: var(--shopify-green);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #F0F5FF 0%, #E0E7FF 100%);
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--shopify-text-dark) 0%, var(--shopify-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--shopify-text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-form .input-group {
    max-width: 500px;
    margin-bottom: 1rem;
}

.hero-form .form-control {
    border: 2px solid var(--shopify-border);
    border-radius: 8px 0 0 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.hero-form .form-control:focus {
    border-color: var(--shopify-green);
    box-shadow: 0 0 0 3px rgba(92, 106, 196, 0.1);
}

.hero-form .btn {
    border-radius: 0 8px 8px 0;
    padding: 12px 24px;
}

.form-note {
    font-size: 0.875rem;
    color: var(--shopify-text-light);
}

.hero-img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: translateY(-10px);
}

/* Utility Classes */
.min-vh-75 {
    min-height: 75vh;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--shopify-text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--shopify-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 100px 0;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--shopify-green), var(--shopify-dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--shopify-text-dark);
}

.feature-card p {
    color: var(--shopify-text-light);
    margin-bottom: 1.5rem;
}

.feature-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

/* Tools Section */
.tools-section {
    padding: 100px 0;
    background-color: var(--shopify-bg-light);
}

.tool-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: var(--shopify-light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--shopify-green);
}

.tool-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--shopify-text-dark);
}

.tool-card p {
    color: var(--shopify-text-light);
    font-size: 0.95rem;
}

/* Dashboard Section */
.dashboard-section {
    padding: 100px 0;
}

.dashboard-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.dashboard-features {
    margin: 2rem 0;
}

.dashboard-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.dashboard-feature i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.dashboard-image img {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.dashboard-image:hover img {
    transform: translateY(-5px);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--shopify-bg-light);
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--shopify-text-dark);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h5 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
}

.testimonial-author p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--shopify-text-light);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--shopify-green), var(--shopify-dark-green));
    color: white;
}

.cta-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.cta-form .form-control {
    border: none;
    border-radius: 8px 0 0 8px;
    padding: 15px 20px;
    font-size: 1rem;
}

.cta-form .btn {
    border-radius: 0 8px 8px 0;
    padding: 15px 30px;
    background-color: white;
    color: var(--shopify-green);
    border: none;
    font-weight: 600;
}

.cta-form .btn:hover {
    background-color: #f8f9fa;
    color: var(--shopify-dark-green);
}

/* Footer Styles */
.footer {
    background-color: #1F2937 !important;
    padding: 80px 0 40px;
}

.footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.social-links a {
    font-size: 1.25rem;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--shopify-green) !important;
}

.footer-legal a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .features-section,
    .tools-section,
    .dashboard-section,
    .testimonials-section,
    .cta-section {
        padding: 60px 0;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .hero-form .input-group {
        flex-direction: column;
    }
    
    .hero-form .form-control {
        border-radius: 8px;
        margin-bottom: 1rem;
    }
    
    .hero-form .btn {
        border-radius: 8px;
    }
    
    .cta-form .input-group {
        flex-direction: column;
    }
    
    .cta-form .form-control {
        border-radius: 8px;
        margin-bottom: 1rem;
    }
    
    .cta-form .btn {
        border-radius: 8px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

::-webkit-scrollbar-thumb {
    background: var(--shopify-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--shopify-dark-green);
}
