/* ==========================================================================
   Orbit Mobiles Landing Page - Styling (Light Theme Version)
   Theme: Clean White / Premium Light
   ========================================================================== */

/* Design Tokens & CSS Variables */
:root {
    --bg-dark: #f8fafc;        /* Off-white background */
    --bg-card: #ffffff;        /* Pure white cards */
    --bg-card-hover: #ffffff;
    
    --primary: #8b5cf6;       /* Electric Violet */
    --primary-glow: rgba(139, 92, 246, 0.2);
    --secondary: #06b6d4;     /* Cyber Cyan */
    --secondary-glow: rgba(6, 182, 212, 0.25);
    --whatsapp-green: #10b981; /* WhatsApp Green */
    --whatsapp-glow: rgba(16, 185, 129, 0.25);
    
    --text-main: #0f172a;      /* Dark slate */
    --text-muted: #475569;     /* Muted slate gray */
    
    --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    --gradient-cyan: linear-gradient(135deg, #0891b2 0%, #0d9488 100%);
    --gradient-dark: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 10px 15px -10px rgba(0, 0, 0, 0.05);
    
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Reset & Document Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Clean Background Decorators */
.space-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    pointer-events: none;
    overflow: hidden;
    background: 
        linear-gradient(135deg, #ffffff 0%, #f6f5ff 40%, #effafb 80%, #f8fafc 100%),
        linear-gradient(rgba(139, 92, 246, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.025) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
    background-position: center, center;
}

.glowing-orb {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(130px);
    opacity: 0.35;
    pointer-events: none;
}

.orb-1 {
    top: -15%;
    right: 10%;
    width: 55vw;
    height: 55vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, rgba(139, 92, 246, 0) 70%);
    animation: floatOrb1 28s ease-in-out infinite;
}

.orb-2 {
    bottom: -15%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(6, 182, 212, 0) 70%);
    animation: floatOrb2 34s ease-in-out infinite;
}

@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 40px) scale(1.05); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, -20px) scale(0.95); }
    100% { transform: translate(0, 0) scale(1); }
}

.orbit-line {
    position: absolute;
    border: 1px solid rgba(0, 0, 0, 0.02);
    border-radius: var(--radius-full);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    pointer-events: none;
}

.orbit-1 {
    width: 85vw;
    height: 38vw;
    animation: rotateOrbit 140s linear infinite;
}

@keyframes rotateOrbit {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Typography Utilities */
h1, h2, h3 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.muted {
    color: var(--text-muted);
}

/* Button UI Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    gap: 0.5rem;
}

.btn-lg {
    padding: 0.95rem 2rem;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--gradient-purple);
    color: #ffffff;
    box-shadow: 0 4px 14px 0 var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 var(--primary-glow);
    filter: brightness(1.1);
}

.btn-outline {
    background: #ffffff;
    color: var(--text-main);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.whatsapp-btn {
    background: var(--whatsapp-green) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px 0 var(--whatsapp-glow) !important;
}

.whatsapp-btn:hover {
    box-shadow: 0 6px 20px 0 var(--whatsapp-glow) !important;
    filter: brightness(1.05);
    transform: translateY(-2px);
}

/* Main Layout Centering */
.simple-layout {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 1.5rem 6rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
}

/* Centered Header with Big Logo */
.simple-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    margin-bottom: 0.5rem;
}

.large-logo-container {
    width: 100%;
    max-width: 380px;
    display: flex;
    justify-content: center;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.04));
    transition: var(--transition-normal);
}

.large-logo-container:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.06));
}

.big-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.hero-title {
    font-size: clamp(2rem, 5.5vw, 2.75rem);
    font-weight: 800;
    max-width: 650px;
    text-wrap: balance;
    color: var(--text-main);
}

.hero-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
}

/* What We Repair Section */
.simple-section-header {
    text-align: center;
    margin-bottom: 2.25rem;
}

.simple-section-header h2 {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-main);
}

.header-divider {
    width: 44px;
    height: 3px;
    background: var(--gradient-purple);
    margin: 0.6rem auto 0 auto;
    border-radius: var(--radius-full);
}

.repair-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.repair-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}

.repair-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow: var(--shadow-md);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(139, 92, 246, 0.08);
    color: #6d28d9;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    border: 1px solid rgba(139, 92, 246, 0.12);
}

.repair-card:nth-child(2) .card-icon {
    background: rgba(6, 182, 212, 0.08);
    color: #0891b2;
    border-color: rgba(6, 182, 212, 0.12);
}

.repair-card:nth-child(3) .card-icon {
    background: rgba(99, 102, 241, 0.08);
    color: #4f46e5;
    border-color: rgba(99, 102, 241, 0.12);
}

.repair-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.repair-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #6d28d9;
    background: rgba(139, 92, 246, 0.06);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
}

.repair-card:nth-child(2) .card-tag {
    color: #0891b2;
    background: rgba(6, 182, 212, 0.06);
}

.repair-card:nth-child(3) .card-tag {
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.06);
}

/* Buy & Sell Banner Styling */
.buy-sell-banner {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.buy-sell-banner h2 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    color: var(--text-main);
}

.buy-sell-banner p {
    color: var(--text-muted);
    font-size: 0.925rem;
    max-width: 650px;
    margin: 0 auto;
}

/* WhatsApp Form Section */
.inquiry-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    box-shadow: var(--shadow-md);
}

.inquiry-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.inquiry-header h2 {
    font-size: 1.65rem;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

.inquiry-header p {
    color: var(--text-muted);
    font-size: 0.925rem;
    max-width: 500px;
    margin: 0 auto;
}

.simple-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.775rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-control {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: var(--text-main);
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
    background: #ffffff;
}

textarea.form-control {
    resize: vertical;
}

.required {
    color: #ef4444;
}

/* Interactive Input Validation states */
.form-control:user-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.15);
    background: rgba(239, 68, 68, 0.01);
}

/* Shop Visit Details & Map Section */
.contact-card-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    box-shadow: var(--shadow-md);
}

.contact-details-box h2 {
    font-size: 1.65rem;
    text-align: center;
    margin-bottom: 1.75rem;
    color: var(--text-main);
}

.store-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.store-details-list li {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.detail-icon {
    font-size: 1.35rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.store-details-list strong {
    display: block;
    font-size: 0.925rem;
    margin-bottom: 0.1rem;
    color: var(--text-main);
}

.store-details-list p {
    margin: 0;
    font-size: 0.925rem;
    color: var(--text-muted);
}

.store-details-list a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: 500;
}

.store-details-list a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Branch Location Tabs Switcher */
.branch-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.branch-tab {
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
    border-radius: var(--radius-sm);
}

.branch-tab:hover {
    color: var(--text-main);
    background: #f1f5f9;
}

.branch-tab.active {
    color: var(--primary);
    background: #f1f5f9;
}

.branch-tab.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-purple);
    border-radius: var(--radius-full);
}

.contact-flex-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
}

.contact-actions {
    display: flex;
    margin-top: 1rem;
}

.contact-map-col {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

/* Footer Section styling */
.simple-footer {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.75rem;
    margin-top: 1rem;
}

.simple-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .simple-layout {
        gap: 3.5rem;
        padding-top: 2rem;
    }
    
    .large-logo-container {
        max-width: 300px;
    }
    
    .inquiry-container,
    .contact-card-container {
        padding: 2rem 1.5rem;
    }
    
    .contact-flex-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-100 { animation-delay: 120ms; }
.delay-200 { animation-delay: 240ms; }
.delay-300 { animation-delay: 360ms; }
.delay-400 { animation-delay: 480ms; }
