/* York Region Web Studio - Modern, Clean & High-Speed CSS Styling */

:root {
    --bg-main: #ffffff;
    --bg-light: #f8fafc;
    --text-primary: #0f172a;
    --text-muted: #475569;
    --accent: #1e293b;
    --accent-blue: #2563eb;
    --accent-hover: #1d4ed8;
    --border-color: #e2e8f0;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-stack);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: 2.85rem; letter-spacing: -0.025em; }
h2 { font-size: 2.1rem; margin-bottom: 12px; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }

p { color: var(--text-muted); font-size: 1rem; }

/* Buttons & CTAs */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    background-color: #ffffff;
    border-color: var(--border-color);
    color: var(--text-primary);
}
.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--accent-blue);
}

.brand-logo span {
    color: var(--accent-blue);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--accent-blue);
}

.nav-cta-btn {
    background-color: var(--accent);
    color: #ffffff;
    padding: 9px 18px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
    transition: background-color 0.2s ease;
}
.nav-cta-btn:hover { background-color: var(--accent-blue); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px 0;
}

/* Hero Section with Elegant Visual Overlay */
.hero {
    position: relative;
    padding: 110px 0 90px 0;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08) 0%, rgba(255, 255, 255, 1) 70%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.35;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 50%;
}

.hero-title {
    max-width: 820px;
    margin: 0 auto 16px auto;
}

.hero-slogan {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 36px auto;
    font-size: 1.15rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* Section Styling */
.section {
    padding: 85px 0;
}

.bg-light {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

/* Feature Cards */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.card-icon-wrapper {
    font-size: 2rem;
    width: 52px;
    height: 52px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Showcase Card */
.showcase-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    box-shadow: var(--card-shadow);
}

.showcase-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent-blue);
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 4px;
}

.showcase-url {
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.browser-frame {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-light);
    box-shadow: 0 12px 24px -6px rgba(0,0,0,0.1);
}

.browser-header {
    background: #e2e8f0;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.browser-address {
    font-size: 0.75rem;
    background: #ffffff;
    padding: 3px 14px;
    border-radius: 4px;
    margin-left: 8px;
    color: var(--text-muted);
}

.browser-content-img {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.browser-content-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.browser-frame:hover .browser-content-img img {
    transform: scale(1.05);
}

.img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    padding: 20px;
    color: #ffffff;
}

.img-overlay h4 { color: #ffffff; font-size: 1.1rem; }
.img-overlay p { color: #cbd5e1; font-size: 0.85rem; }

/* Testimonial */
.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 36px;
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: var(--card-shadow);
}

.quote-mark {
    font-size: 3.5rem;
    line-height: 1;
    color: var(--accent-blue);
    font-family: serif;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
}
.testimonial-author span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Pricing - 4 Level Grid Layout */
.pricing-grid {
    gap: 20px;
    align-items: stretch;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 28px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.pricing-card.featured {
    border: 2px solid var(--accent-blue);
    box-shadow: 0 12px 30px -5px rgba(37, 99, 235, 0.15);
}

.level-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-blue);
    letter-spacing: 0.05em;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent-blue);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
}

.price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 10px 0 2px 0;
}
.price span { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }

.price-sub {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 20px;
    min-height: 38px;
}

.price-features {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
}

.price-features li {
    padding: 7px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.price-features li.disabled {
    color: #cbd5e1;
    text-decoration: line-through;
}

/* Contact Section */
.contact-section {
    background-color: var(--accent);
    color: #ffffff;
}

.contact-section h2, .contact-section p {
    color: #ffffff;
}
.contact-section p { color: #94a3b8; }

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.contact-details {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item .icon {
    font-size: 1.5rem;
}

.contact-item strong {
    display: block;
    color: #ffffff;
    font-size: 0.875rem;
}

.contact-item a, .contact-item span {
    color: #cbd5e1;
    text-decoration: none;
}
.contact-item a:hover { color: #ffffff; }

.contact-form-card {
    background: #ffffff;
    padding: 36px;
    border-radius: 14px;
    color: var(--text-primary);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.contact-form-card h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.form-group input, .form-group textarea, .form-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background-color: #ffffff;
}

/* Footer */
.footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 48px 0;
    font-size: 0.875rem;
    border-top: 1px solid #1e293b;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #1e293b;
}

.footer-brand .brand-logo { color: #ffffff; }
.slogan-sm { font-size: 0.8rem; color: #64748b; margin-top: 4px; }

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: #ffffff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.made-in-canada {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    font-weight: 500;
}

/* Legal Pages Styling */
.legal-container {
    max-width: 820px;
    padding: 50px 20px;
}

.effective-date {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.legal-block {
    margin-bottom: 32px;
}

.legal-block h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.legal-block ul {
    margin-left: 20px;
    margin-top: 8px;
    margin-bottom: 8px;
    color: var(--text-muted);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.6rem; }
    
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    
    .showcase-card, .contact-wrapper { grid-template-columns: 1fr; }
    
    .nav-toggle { display: block; }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
        gap: 16px;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active { display: flex; }
    
    .footer-top, .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
