/* Main styles for OneSpot website */

/* Base styles */
body {
    font-family: 'Inter', sans-serif;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utility classes */
.gradient-text {
    background: linear-gradient(90deg, #FF6B35 0%, #FF8A5C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.gradient-bg {
    background: linear-gradient(90deg, #FF6B35 0%, #FF8A5C 100%);
}

.custom-shadow {
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
}

.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background-color: #FF6B35;
    margin: 1.5rem auto 3rem;
}

/* Header and Navigation */
.bg-white {
    background-color: #FFFFFF;
}

.text-onespot-dark {
    color: #1A1A1A;
}

.text-onespot-orange {
    color: #FF6B35;
}

.bg-onespot-orange {
    background-color: #FF6B35;
}

.bg-onespot-orange-light {
    background-color: #FF8A5C;
}

.bg-onespot-gray {
    background-color: #F5F7FA;
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Hero Section */
.hero-image {
    position: relative;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
}

.browser-header {
    background-color: #F3F4F6;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

.browser-dots {
    display: flex;
    gap: 0.25rem;
    margin-right: 1rem;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dot.red {
    background-color: #FF5F57;
}

.browser-dot.yellow {
    background-color: #FEBC2E;
}

.browser-dot.green {
    background-color: #28C840;
}

.browser-address {
    background-color: white;
    border-radius: 0.25rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    color: #4B5563;
    flex-grow: 1;
}

/* Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid #FF6B35;
}

/* How It Works Section */
.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

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

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #FF6B35;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #4B5563;
}

/* Email Powerhouse Section */
.email-powerhouse-section {
    background: linear-gradient(170deg, white 0%, #f8f9fa 100%);
    border-radius: 16px;
}

.email-feature-item {
    padding: 1.5rem;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.email-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.1);
}

.email-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: #FFF0EB;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #FF6B35;
    margin-bottom: 1.25rem;
}

/* Testimonial Section */
.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
}

/* Form Styles */
#lead-form {
    display: none;
}

.hidden {
    display: none;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes load {
    0% { width: 0; }
    100% { width: 85%; }
}

/* Progress bar animation */
.progress-value {
    animation: load 3s normal forwards;
}

/* Responsive utilities */
@media (min-width: 640px) {
    /* Small screens */
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .sm\:flex-row {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    /* Medium screens */
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:py-24 {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    
    .md\:py-28 {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
    
    .md\:p-10 {
        padding: 2.5rem;
    }
    
    .md\:p-8 {
        padding: 2rem;
    }
    
    .md\:text-4xl {
        font-size: 2.25rem;
    }
    
    .md\:text-5xl {
        font-size: 3rem;
    }
    
    .md\:mb-0 {
        margin-bottom: 0;
    }
    
    .md\:mr-8 {
        margin-right: 2rem;
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:w-32 {
        width: 8rem;
    }
    
    .md\:h-32 {
        height: 8rem;
    }
    
    .md\:text-xl {
        font-size: 1.25rem;
    }
    
    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }
    
    .md\:col-span-4 {
        grid-column: span 4 / span 4;
    }
    
    .md\:items-center {
        align-items: center;
    }
    
    .md\:justify-between {
        justify-content: space-between;
    }
    
    .md\:w-1\/2 {
        width: 50%;
    }
    
    .md\:w-5\/12 {
        width: 41.666667%;
    }
}

@media (min-width: 1024px) {
    /* Large screens */
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .lg\:flex-row {
        flex-direction: row;
    }
    
    .lg\:pr-12 {
        padding-right: 3rem;
    }
    
    .lg\:w-1\/2 {
        width: 50%;
    }
    
    .lg\:mb-0 {
        margin-bottom: 0;
    }
    
    .lg\:text-6xl {
        font-size: 3.75rem;
    }
    
}

/* Stats badge positioning */
#stats-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

#stats-badge .text-onespot-orange {
    color: #FF6B35;
    font-weight: 700;
    font-size: 20px;
}

#stats-badge .text-gray-600 {
    color: #4B5563;
    font-size: 12px;
}

/* Form validation styles */
.error-message {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

input.border-red-500 {
    border-color: #EF4444;
}

input:focus {
    outline: none;
    border-color: #FF6B35;
}