/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    backdrop-filter: blur(20px);
}

.logo {
    height: 300px;
    width: auto;
    display: block;
    margin: 0 auto;
    max-width: 100%;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    padding: 0;
    margin-top: -20px;
}

/* CTA Section with Form */
.cta-section {
    text-align: center;
    padding: 60px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #f0f0f0;
}

.cta-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #8B4513;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 40px;
    font-weight: 500;
}

/* Form Container for GetWaitlist Widget */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    animation: formSlideIn 0.8s ease-out;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1e40af, #3b82f6);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

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

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* GetWaitlist Widget Customization */
#getWaitlistContainer {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Override GetWaitlist default styles */
#getWaitlistContainer * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

/* Style GetWaitlist input fields */
#getWaitlistContainer input[type="email"],
#getWaitlistContainer input[type="tel"],
#getWaitlistContainer input[type="text"] {
    width: 100% !important;
    padding: 16px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    background: #fafafa !important;
    margin-bottom: 16px !important;
    box-sizing: border-box !important;
}

#getWaitlistContainer input[type="email"]:focus,
#getWaitlistContainer input[type="tel"]:focus,
#getWaitlistContainer input[type="text"]:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
    transform: translateY(-1px) !important;
}

/* Style GetWaitlist select dropdown */
#getWaitlistContainer select {
    width: 100% !important;
    padding: 16px 12px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 12px !important;
    font-size: 0.9rem !important;
    background: #fafafa !important;
    transition: all 0.3s ease !important;
    margin-bottom: 16px !important;
    box-sizing: border-box !important;
}

#getWaitlistContainer select:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

/* Style GetWaitlist submit button */
#getWaitlistContainer button[type="submit"],
#getWaitlistContainer button#primaryCTA {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    color: white !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    padding: 18px 32px !important;
    border: none !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.25) !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    position: relative !important;
    overflow: hidden !important;
    margin-top: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#getWaitlistContainer button[type="submit"]:hover,
#getWaitlistContainer button#primaryCTA:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 32px rgba(30, 58, 138, 0.35) !important;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important;
}

/* Style GetWaitlist labels */
#getWaitlistContainer label {
    display: block !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 8px !important;
    font-size: 0.95rem !important;
}

/* Style GetWaitlist form layout */
#getWaitlistContainer .gw-flex {
    display: flex !important;
    gap: 12px !important;
}

#getWaitlistContainer .gw-w-1\/2 {
    flex: 1 !important;
}

/* Ensure widget visibility */
.custom-waitlist-widget {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Permission Checkbox Container - MOBILE OPTIMIZED */
.permission-checkbox-container {
    margin: 12px 0 16px 0;
    padding: 0;
    animation: fadeInUp 0.5s ease-out;
}

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

.permission-checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    cursor: pointer !important;
    padding: 8px 0 !important;
    transition: all 0.3s ease !important;
    user-select: none !important;
    font-weight: 400 !important;
    color: #666666 !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

.permission-checkbox-label:hover {
    color: #333333 !important;
}

.permission-checkbox-label input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    cursor: pointer !important;
    height: 0 !important;
    width: 0 !important;
}

.permission-checkmark {
    height: 18px !important;
    width: 18px !important;
    background-color: #ffffff !important;
    border: 1.5px solid #d1d5db !important;
    border-radius: 3px !important;
    margin-right: 10px !important;
    margin-top: 1px !important;
    position: relative !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.permission-checkbox-label:hover .permission-checkmark {
    border-color: #9ca3af !important;
}

.permission-checkbox-label input[type="checkbox"]:checked ~ .permission-checkmark {
    background-color: #3b82f6 !important;
    border-color: #3b82f6 !important;
}

.permission-checkmark:after {
    content: "" !important;
    position: absolute !important;
    display: none !important;
    left: 5px !important;
    top: 1px !important;
    width: 4px !important;
    height: 9px !important;
    border: solid white !important;
    border-width: 0 1.5px 1.5px 0 !important;
    transform: rotate(45deg) !important;
}

.permission-checkbox-label input[type="checkbox"]:checked ~ .permission-checkmark:after {
    display: block !important;
    animation: checkmarkSlide 0.2s ease-out !important;
}

@keyframes checkmarkSlide {
    0% {
        opacity: 0;
        transform: rotate(45deg) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }
}

.permission-text {
    font-size: 0.9rem !important;
    color: #666666 !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    transition: color 0.3s ease !important;
    flex: 1 !important;
}

.permission-checkbox-label:hover .permission-text {
    color: #333333 !important;
}

.permission-checkbox-label input[type="checkbox"]:checked ~ .permission-text {
    color: #333333 !important;
}

/* Focus states for accessibility */
.permission-checkbox-label:focus-within {
    outline: 2px solid #3b82f6 !important;
    outline-offset: 2px !important;
    border-radius: 3px !important;
}

.permission-checkbox-label:focus-within .permission-checkmark {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1) !important;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image {
    order: 1;
}

.devices-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.devices-image:hover {
    transform: translateY(-8px);
}

.hero-text {
    order: 2;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: #8B4513;
    margin-bottom: 32px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #8B4513;
    margin-bottom: 24px;
    font-weight: 600;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.7;
    font-weight: 400;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    padding: 120px 0;
    background: #fafbfc;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 48px 32px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B4513, #D2691E);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
    border-color: #e0e0e0;
}

.feature-icon {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-icon-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.feature-title {
    font-size: 2rem;
    font-weight: 700;
    color: #8B4513;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.feature-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    font-weight: 400;
    max-width: 280px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 80px 24px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .cta-section {
        padding: 40px 0 60px;
    }
    
    .cta-title {
        font-size: 2.4rem;
        margin-bottom: 12px;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }
    
    .form-container {
        padding: 32px 24px;
        margin: 0 16px;
    }
    
    #getWaitlistContainer .gw-flex {
        flex-direction: column !important;
        gap: 16px !important;
    }
    
    #getWaitlistContainer .gw-w-1\/2 {
        flex: none !important;
        width: 100% !important;
    }
    
    .permission-checkbox-container {
        margin: 10px 0 14px 0;
    }
    
    .permission-checkbox-label {
        font-size: 0.85rem !important;
        padding: 6px 0 !important;
    }
    
    .permission-checkmark {
        height: 16px !important;
        width: 16px !important;
        margin-right: 8px !important;
        border-width: 1px !important;
    }
    
    .permission-checkmark:after {
        left: 4px !important;
        top: 1px !important;
        width: 3px !important;
        height: 7px !important;
        border-width: 0 1px 1px 0 !important;
    }
    
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .feature {
        padding: 40px 24px;
    }
    
    .feature-title {
        font-size: 1.6rem;
    }
    
    .feature-icon-img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 30px 0 50px;
    }
    
    .cta-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .form-container {
        padding: 24px 20px;
        margin: 0 12px;
    }
    
    .permission-checkbox-container {
        margin: 8px 0 12px 0;
    }
    
    .permission-checkbox-label {
        font-size: 0.8rem !important;
        padding: 4px 0 !important;
    }
    
    .permission-checkmark {
        height: 14px !important;
        width: 14px !important;
        margin-right: 6px !important;
    }
    
    .permission-checkmark:after {
        left: 3px !important;
        top: 0px !important;
        width: 2px !important;
        height: 6px !important;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .feature-title {
        font-size: 1.4rem;
    }
    
    .feature-description {
        font-size: 1rem;
    }
}

/* Ensure proper spacing with GetWaitlist elements */
#getWaitlistContainer .permission-checkbox-container {
    margin-top: 12px !important;
    margin-bottom: 16px !important;
}

