/* ==========================================================================
   PS COMPUTER SERVICES - Modern Light Theme Design System & Animations
   Address: Shop No 52, Hudda Market, Sector 30, Faridabad PIN 121003
   Phone: +91-9540046568 | Email: info@pscomputerservices.in
   ========================================================================== */

:root {
    --primary: #f26522;
    --primary-dark: #d94f0d;
    --primary-glow: rgba(242, 101, 34, 0.25);
    --accent: #059669;
    --accent-glow: rgba(5, 150, 105, 0.25);
    --amber: #d97706;
    --success: #059669;
    --dark-bg: #f8fafc;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dark: #0f172a;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --shadow-glow: 0 10px 30px -10px rgba(242, 101, 34, 0.2);
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
}

.text-gradient {
    background: linear-gradient(135deg, #ea580c 0%, #f26522 50%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-cyan { color: var(--accent); }
.text-orange { color: #f26522; }
.text-green { color: #059669; }
.text-amber { color: var(--amber); }

/* Layout Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Top Notification Bar */
.top-bar {
    background: #0f172a;
    border-bottom: 1px solid #1e293b;
    padding: 0.6rem 0;
    font-size: 0.875rem;
    color: #cbd5e1;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-info-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #94a3b8;
}

.top-info-item svg {
    width: 16px;
    height: 16px;
    color: #f26522;
}

.top-info-item a {
    color: #f8fafc;
}

.top-info-item a:hover {
    color: #f26522;
}

.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(5, 150, 105, 0.15);
    border: 1px solid rgba(5, 150, 105, 0.3);
    color: #059669;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #059669;
    border-radius: 50%;
    box-shadow: 0 0 10px #059669;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #ea580c 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(242, 101, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(242, 101, 34, 0.4);
    color: #ffffff;
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-outline {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

.btn-outline:hover {
    background: #f1f5f9;
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0 5rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(242, 101, 34, 0.1);
    border: 1px solid rgba(242, 101, 34, 0.25);
    color: #ea580c;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
    color: #0f172a;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.stats-counter {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.stat-item h3 {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.stat-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Quick Quote Form Card */
.quote-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
    position: relative;
    overflow: hidden;
}

.quote-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.quote-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.quote-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #1e293b;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    color: #0f172a;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.15);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%475569' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Section Common */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 3.5rem auto;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Brands Grid */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}

.brand-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.brand-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(242, 101, 34, 0.15);
}

.brand-badge {
    align-self: flex-start;
    background: rgba(242, 101, 34, 0.1);
    color: #ea580c;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.brand-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
    color: #0f172a;
}

.brand-card p {
    color: var(--text-muted);
    font-size: 0.925rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

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

.brand-card:hover .brand-link svg {
    transform: translateX(5px);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(5, 150, 105, 0.15);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: rgba(242, 101, 34, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.925rem;
    margin-bottom: 1.25rem;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.875rem;
}

.price-tag {
    color: var(--accent);
    font-weight: 700;
}

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

/* Calculator Component */
.calc-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-top: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.calc-result-card {
    background: rgba(242, 101, 34, 0.05);
    border: 1px dashed var(--primary);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
}

.price-big {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0.5rem 0;
}

/* Location Search & Grid */
.location-search-box {
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    position: relative;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.location-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.location-item:hover {
    border-color: var(--primary);
    background: #fffdfb;
    transform: translateX(4px);
}

.location-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: #0f172a;
    border-top: 1px solid #1e293b;
    padding: 4rem 0 2rem 0;
    color: #f8fafc;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: #f26522;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Sticky Action Bar for Mobile */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    display: none;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.sticky-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
}

.sticky-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    max-width: 520px;
    width: 100%;
    padding: 2.25rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #f1f5f9;
    border: none;
    color: #475569;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .calc-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .nav-menu {
        display: none;
    }
    .sticky-bar {
        display: block;
    }
    body {
        padding-bottom: 60px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
