/* Marketing Website Styles */

/* CSS Reset & Normalize for Cross-Browser Compatibility */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Remove default margins */
h1, h2, h3, h4, h5, h6, p, ul, ol, li {
    margin: 0;
    padding: 0;
}

/* Remove list styles */
ul, ol {
    list-style: none;
}

/* Remove link underlines */
a {
    text-decoration: none;
    color: inherit;
}

/* Image responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Button reset */
button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

:root {
    --primary-color: #4e73df;
    --secondary-color: #858796;
    --success-color: #1cc88a;
    --info-color: #36b9cc;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --purple-color: #6f42c1;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.25rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    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 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-image-container {
    position: relative;
    z-index: 1;
}

.hero-image-container img {
    animation: float 6s ease-in-out infinite;
}

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

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay-1 {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-in 0.9s both;
}

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

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    color: white;
}

.feature-icon i {
    color: white !important;
}

/* Stats Section */
.stat-item {
    padding: 20px;
}

.stat-item h2 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,.2);
}

/* Steps */
.step-card {
    position: relative;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,.2);
}

/* Gradient Background */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-warning {
    background: linear-gradient(135deg, #f6c23e 0%, #f4b619 100%);
    border: none;
    color: #333;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #f4b619 0%, #f6c23e 100%);
    color: #333;
}

/* Footer */
footer {
    background: #1a1a2e !important;
}

footer a:hover {
    color: white !important;
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 992px) {
    /* Navigation */
    .navbar-brand span {
        font-size: 1rem !important;
    }
    
    .navbar-nav .nav-item {
        margin: 5px 0;
    }
    
    .navbar-nav .btn {
        width: 100%;
        margin: 5px 0 !important;
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-section .row {
        min-height: auto !important;
    }
    
    /* Typography */
    .display-3 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .display-4 {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }
    
    .display-5 {
        font-size: 1.6rem !important;
        line-height: 1.2;
    }
    
    .display-6 {
        font-size: 1.4rem !important;
        line-height: 1.2;
    }
    
    .lead {
        font-size: 1rem !important;
    }
    
    /* Buttons */
    .btn-lg {
        padding: 10px 25px !important;
        font-size: 0.95rem !important;
    }
    
    .btn {
        padding: 8px 20px !important;
        font-size: 0.9rem !important;
    }
    
    /* Hero Buttons */
    .hero-section .d-flex.gap-3 {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .hero-section .btn {
        width: 100%;
    }
    
    /* Feature Cards */
    .feature-card {
        margin-bottom: 20px;
        padding: 20px !important;
    }
    
    .feature-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }
    
    .feature-card h4,
    .feature-card h5 {
        font-size: 1.1rem !important;
    }
    
    /* Step Cards */
    .step-card {
        margin-bottom: 30px;
        padding: 25px 15px !important;
    }
    
    .step-number {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
    }
    
    /* Stats */
    .stat-item {
        padding: 20px 15px !important;
        margin-bottom: 15px;
    }
    
    .stat-item h2 {
        font-size: 2rem !important;
    }
    
    /* Placeholder Images */
    .placeholder-image {
        padding: 60px 30px !important;
    }
    
    .placeholder-image i {
        font-size: 80px !important;
    }
    
    .placeholder-image h3,
    .placeholder-image h4 {
        font-size: 1.2rem !important;
    }
    
    /* Hero Image */
    .hero-image-container {
        margin-top: 30px;
    }
    
    /* Sections */
    section {
        padding: 40px 0 !important;
    }
    
    section.py-5 {
        padding: 40px 0 !important;
    }
    
    /* Footer */
    footer .col-6 {
        margin-bottom: 20px;
    }
    
    footer h6 {
        font-size: 0.95rem;
    }
    
    /* Contact Cards */
    .contact-info-card {
        padding: 25px 20px !important;
        margin-bottom: 20px;
    }
    
    .icon-circle {
        width: 60px !important;
        height: 60px !important;
    }
    
    /* Pricing Cards */
    .pricing-card {
        margin-bottom: 20px;
    }
    
    .price-tag {
        font-size: 2rem !important;
    }
    
    .price-period {
        font-size: 0.9rem !important;
    }
    
    /* Enterprise Card */
    .enterprise-card {
        padding: 30px 20px !important;
    }
    
    .enterprise-card h3 {
        font-size: 1.3rem !important;
    }
    
    .enterprise-card .lead {
        font-size: 0.95rem !important;
    }
    
    /* Section Dividers */
    .section-divider h3 {
        font-size: 1.3rem !important;
        padding: 0 15px;
    }
    
    /* Forms */
    .form-control,
    .form-select {
        font-size: 0.95rem !important;
    }
    
    /* Navbar Brand */
    .navbar-brand {
        font-size: 1.1rem !important;
    }
    
    .navbar-brand > div {
        width: 38px !important;
        height: 38px !important;
    }
    
    .navbar-brand i {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 576px) {
    /* Extra small devices */
    .display-3 {
        font-size: 1.75rem !important;
    }
    
    .display-4 {
        font-size: 1.5rem !important;
    }
    
    .display-5 {
        font-size: 1.4rem !important;
    }
    
    /* Containers */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Cards */
    .card-body {
        padding: 20px !important;
    }
    
    /* Buttons in hero */
    .hero-section .btn-lg {
        padding: 12px 20px !important;
    }
    
    /* Stats grid */
    .stat-item h2 {
        font-size: 1.75rem !important;
    }
    
    /* Footer columns */
    footer .col-6 {
        width: 100%;
    }
    
    /* Pricing section divider */
    .section-divider {
        margin: 40px 0 30px !important;
    }
    
    /* Feature badges */
    .feature-badge {
        font-size: 0.85rem !important;
        padding: 6px 15px !important;
    }
}

/* Utility Classes */
.text-purple {
    color: var(--purple-color) !important;
}

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

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

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .feature-card:hover,
    .step-card:hover,
    .pricing-card:hover,
    .contact-info-card:hover {
        transform: none;
    }
    
    /* Increase tap targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    a:not(.navbar-brand), button {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none !important;
    }
    
    body {
        background: white !important;
    }
}

/* Accessibility Improvements */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
