/* Websitesolution Page Styles */

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --accent: #8b5cf6;
    --accent-dark: #7c3aed;
    --text-main: #0f172a;
    --text-muted: #475569;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --border-color: rgba(0, 0, 0, 0.1);
    
    --container-width: 1200px;
    --header-height: 80px;
    --top-bar-height: 40px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

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

/* Hero Section */
.hero-ws {
    padding: 80px 0 100px;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent 40%),
                radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.05), transparent 40%);
}

.hero-ws-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-ws-content {
    flex: 1;
}

.hero-ws-visual {
    flex: 1.2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hero-badge span {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.hero-ws h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-ws h1 .gradient-text {
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-ws p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.laptop-mockup {
    width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.15);
}

.laptop-mockup img {
    width: 100%;
    display: block;
}

/* Core Philosophy Section */
.philosophy {
    padding-top: 0;
}

.philosophy-text {
    font-size: 2.5rem;
    font-weight: 700;
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.2;
}

.philosophy-desc {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.15rem;
}

/* What We Build Cards */
.build-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.build-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.build-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

.build-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 20px;
}

.build-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.build-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.build-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Tech Stack */
.tech-stack {
    background: var(--bg-light);
}

.tech-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
    margin-top: 40px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.6;
    transition: var(--transition);
}

.tech-item:hover {
    opacity: 1;
    transform: translateY(-4px);
}

.tech-item img {
    height: 40px;
}

.tech-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Why Choose Us Split */
.why-us-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.why-us-content {
    flex: 1;
}

.why-us-visual {
    flex: 1;
}

.why-us-visual img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.reason-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.reason-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: #eff6ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.reason-info h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.reason-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Selected Work */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.work-img {
    height: 240px;
    overflow: hidden;
}

.work-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.work-card:hover .work-img img {
    transform: scale(1.05);
}

.work-content {
    padding: 24px;
}

.work-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.work-tag {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.work-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.work-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    position: relative;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--bg-white) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 30px;
}

.pricing-card .price span {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
}

.price-features {
    margin-bottom: 40px;
    flex-grow: 1;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.price-features li i {
    color: var(--primary);
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 200px;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

/* Infra Stats */
.infra-stats {
    background: #0f172a;
    color: white;
    padding: 120px 0;
}

.infra-stats-flex {
    display: flex;
    align-items: center;
    gap: 100px;
}

.stats-info {
    flex: 1.2;
}

.stats-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.stat-box {
    padding-left: 24px;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.stat-box h4 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.stat-box h4 span {
    font-size: 2rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-box p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Final CTA */
.final-cta-ws {
    background: white;
    padding: 120px 0;
    text-align: center;
}

.final-cta-ws h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.final-cta-ws p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero-ws h1 { font-size: 3.5rem; }
    .hero-ws-flex { flex-direction: column; }
    .build-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .infra-stats-flex { flex-direction: column; gap: 60px; }
    .why-us-flex { flex-direction: column; }
}

@media (max-width: 768px) {
    .hero-ws h1 { font-size: 2.8rem; }
    .build-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .work-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    .section-header h2 { font-size: 2.2rem; }
    .philosophy-text { font-size: 1.8rem; }
}
