/* ============================================
   Great Computer Guy - Modern Techy Design
   ============================================ */

/* CSS Variables */
:root {
    --primary-blue: #1F4B99;
    --deep-navy: #0B1F4A;
    --accent-green: #2D8659;
    --light-blue: #F0F4F8;
    --dark-bg: #0F172A;
    --dark-alt: #1E293B;
    --light-bg: #F8FAFC;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-light: #64748B;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #1F4B99 0%, #0B1F4A 100%);
    --gradient-accent: linear-gradient(135deg, #1F4B99 0%, #2D8659 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--white);
    background-image: url('../assets/circuit-pattern-dark.svg');
    background-repeat: repeat;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(11, 16, 32, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.navbar.scrolled {
    background: rgba(11, 16, 32, 0.98);
    box-shadow: var(--shadow-lg);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    width: 44px;
    height: 44px;
}

.logo-square {
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-blue);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.logo-square-green {
    border-color: var(--accent-green);
}

.logo-square span {
    line-height: 1;
    display: block;
}

.logo-text {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    color: var(--white);
    position: relative;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.logo:hover .logo-text {
    border-bottom-color: var(--accent-green);
}

/* Larger logo mark used on the hero */
/* hero logo grid size/motion overrides live in .hero-visual section above */
.hero-logo-grid .logo-square-green {
    border-color: var(--accent-green);
    background: rgba(255, 255, 255, 0.95);
}

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

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-green);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary-blue);
    border-radius: 8px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

/* Override .nav-menu a padding so Call Now has room (that rule sets padding: 0.5rem 0) */
.nav-menu a.nav-cta {
    padding: 0.75rem;
}

.nav-phone {
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
}

.nav-phone::after {
    display: none;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--deep-navy);
    box-shadow: 0 6px 20px rgba(31, 75, 153, 0.45);
    transform: translateY(-2px);
}

.nav-cta:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: var(--dark-bg);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: radial-gradient(circle at 30% 50%, rgba(31, 75, 153, 0.2) 0%, transparent 50%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: url('../assets/circuit-pattern.svg');
    background-repeat: repeat;
    opacity: 0.4;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/circuit-pattern.svg');
    background-repeat: repeat;
    opacity: 0.4;
    pointer-events: none;
}


.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    color: var(--primary-blue);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 340px;
}

.hero-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.hero-logo-grid .logo-square,
.hero-logo-grid .simon-btn {
    -webkit-user-select: none;
    user-select: none;
}

.hero-logo-grid .logo-square * {
    pointer-events: none;
}

/* Simon game */
.simon-status {
    text-align: center;
    min-height: 2.5rem;
}

.simon-level {
    display: block;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.simon-play-btn {
    margin-top: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--primary-blue);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.simon-play-btn:hover {
    background: var(--deep-navy);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-logo-grid.simon-playing .logo-square {
    animation: none;
    pointer-events: none;
}

.hero-logo-grid .logo-square.simon-flash {
    transform: scale(1.08);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.5);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

/* Pattern revealed (sequence playing): cool blue tint */
.hero-logo-grid .logo-square.simon-flash.simon-flash-reveal {
    background: rgba(224, 236, 255, 0.98) !important;
    box-shadow: 0 0 22px rgba(31, 75, 153, 0.5);
}

.hero-logo-grid .logo-square.logo-square-green.simon-flash.simon-flash-reveal {
    background: rgba(220, 245, 232, 0.98) !important;
    box-shadow: 0 0 22px rgba(45, 134, 89, 0.6);
}

/* User replicating (your turn click): green tint */
.hero-logo-grid .logo-square.simon-flash.simon-flash-user {
    background: rgba(230, 252, 238, 0.98) !important;
    box-shadow: 0 0 22px rgba(45, 134, 89, 0.55);
}

.hero-logo-grid .logo-square.logo-square-green.simon-flash.simon-flash-user {
    background: rgba(232, 255, 240, 0.98) !important;
    box-shadow: 0 0 24px rgba(45, 134, 89, 0.75);
}

.hero-logo-grid.simon-wrong .logo-square {
    animation: none;
}

.hero-logo-grid .logo-square.simon-wrong-flash {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.7);
    background: rgba(254, 226, 226, 0.98) !important;
    transform: scale(1.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hero-logo-grid {
    width: 280px;
    height: 280px;
    gap: 12px;
}

.hero-logo-grid .logo-square {
    border-radius: 12px;
    border-width: 3px;
    font-size: 4.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    cursor: pointer;
    overflow: visible;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    animation: heroSquareFloat 6s ease-in-out infinite;
}

.hero-logo-grid .logo-square:nth-child(1) { animation-delay: 0s; }
.hero-logo-grid .logo-square:nth-child(2) { animation-delay: -1.5s; }
.hero-logo-grid .logo-square:nth-child(3) { animation-delay: -3s; }
.hero-logo-grid .logo-square:nth-child(4) { animation-delay: -4.5s; }

@keyframes heroSquareFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.hero-logo-grid .logo-square:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 24px rgba(31, 75, 153, 0.35);
    animation-play-state: paused;
}

.hero-logo-grid .logo-square-green:hover {
    box-shadow: 0 12px 24px rgba(45, 134, 89, 0.35);
}

/* Click: break apart then come back together */
.hero-logo-grid.burst .logo-square:nth-child(1) {
    animation: burst1 0.5s ease-out forwards;
}
.hero-logo-grid.burst .logo-square:nth-child(2) {
    animation: burst2 0.5s ease-out forwards;
}
.hero-logo-grid.burst .logo-square:nth-child(3) {
    animation: burst3 0.5s ease-out forwards;
}
.hero-logo-grid.burst .logo-square:nth-child(4) {
    animation: burst4 0.5s ease-out forwards;
}

.hero-logo-grid.burst-return .logo-square:nth-child(1) {
    animation: return1 0.5s ease-in-out forwards;
}
.hero-logo-grid.burst-return .logo-square:nth-child(2) {
    animation: return2 0.5s ease-in-out forwards;
}
.hero-logo-grid.burst-return .logo-square:nth-child(3) {
    animation: return3 0.5s ease-in-out forwards;
}
.hero-logo-grid.burst-return .logo-square:nth-child(4) {
    animation: return4 0.5s ease-in-out forwards;
}

@keyframes burst1 {
    to { transform: translate(-70px, -50px) scale(0.75); opacity: 0.9; }
}
@keyframes burst2 {
    to { transform: translate(70px, -50px) scale(0.75); opacity: 0.9; }
}
@keyframes burst3 {
    to { transform: translate(-70px, 50px) scale(0.75); opacity: 0.9; }
}
@keyframes burst4 {
    to { transform: translate(70px, 50px) scale(0.75); opacity: 0.9; }
}

@keyframes return1 {
    from { transform: translate(-70px, -50px) scale(0.75); opacity: 0.9; }
    to { transform: translate(0, 0) scale(1); opacity: 1; }
}
@keyframes return2 {
    from { transform: translate(70px, -50px) scale(0.75); opacity: 0.9; }
    to { transform: translate(0, 0) scale(1); opacity: 1; }
}
@keyframes return3 {
    from { transform: translate(-70px, 50px) scale(0.75); opacity: 0.9; }
    to { transform: translate(0, 0) scale(1); opacity: 1; }
}
@keyframes return4 {
    from { transform: translate(70px, 50px) scale(0.75); opacity: 0.9; }
    to { transform: translate(0, 0) scale(1); opacity: 1; }
}

.hero-square .hero-square-label {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    letter-spacing: 0.05em;
    z-index: 10;
}

/* Top row (G, C): label above the square so it’s not covered */
.hero-logo-grid .logo-square:nth-child(1) .hero-square-label,
.hero-logo-grid .logo-square:nth-child(2) .hero-square-label {
    bottom: auto;
    top: -1.5rem;
}

.hero-logo-grid .logo-square:nth-child(1):hover .hero-square-label,
.hero-logo-grid .logo-square:nth-child(2):hover .hero-square-label {
    transform: translateX(-50%) scale(1);
}

/* Bottom row (G, green): label below the square */
.hero-logo-grid .logo-square:nth-child(3) .hero-square-label,
.hero-logo-grid .logo-square:nth-child(4) .hero-square-label {
    bottom: -1.5rem;
    top: auto;
}

.hero-square:hover .hero-square-label {
    opacity: 1;
}

.hero-logo-grid .logo-square:nth-child(3):hover .hero-square-label,
.hero-logo-grid .logo-square:nth-child(4):hover .hero-square-label {
    transform: translateX(-50%) scale(1);
}

.hero-visual-tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    max-width: 260px;
    margin: 0;
    line-height: 1.5;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.4);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--deep-navy);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Trust Strip */
.trust-strip {
    background: rgba(248, 250, 252, 0.88);
    padding: 3rem 0;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.trust-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.trust-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
    border-radius: 8px;
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'Sora', sans-serif;
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.trust-text strong {
    color: var(--text-primary);
    font-size: 1.125rem;
}

.trust-text span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.88);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 2px solid var(--light-blue);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    border-color: var(--primary-blue);
    background: var(--light-bg);
    border-width: 3px;
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Sora', sans-serif;
}

.service-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 600;
}

.service-btn {
    margin-top: auto;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.service-btn:hover {
    background: var(--deep-navy);
    box-shadow: var(--shadow-md);
}

/* Wizard Section */
.wizard-section {
    padding: 6rem 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.wizard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background: radial-gradient(circle at 50% 50%, rgba(31, 191, 106, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.wizard-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: url('../assets/circuit-pattern.svg');
    background-repeat: repeat;
    opacity: 0.35;
    pointer-events: none;
}

.wizard-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    z-index: 2;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.wizard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.wizard-title {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.wizard-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.wizard {
    position: relative;
    min-height: 400px;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.wizard-step.active {
    display: block;
}

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

.wizard-step h3 {
    color: var(--white);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.wizard-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.wizard-option-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
}

.wizard-option-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.option-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'Sora', sans-serif;
}

.option-label {
    font-weight: 600;
    font-size: 1rem;
}

.wizard-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--white);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
}

.wizard-back-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.wizard-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.wizard-success {
    text-align: center;
    color: var(--white);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.wizard-success h3 {
    margin-bottom: 1rem;
}

.wizard-success p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.success-phone {
    margin-top: 1.5rem;
}

.success-phone a {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: rgba(248, 250, 252, 0.88);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
    border-radius: 12px;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    font-family: 'Sora', sans-serif;
}

.process-step h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-secondary);
}

/* Testimonials */
.testimonials-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.88);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-primary);
    font-size: 1.125rem;
    line-height: 1.8;
}

.testimonial-author strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: var(--gradient-primary);
    text-align: center;
    margin-top: 80px;
}

.page-title {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* Services Page - Floating jump nav */
.services-jump-nav {
    position: fixed;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.45rem 0.5rem 0.45rem 0.55rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--light-blue);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    max-width: 6.5rem;
}

.services-jump-label {
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-light);
    margin-bottom: 0.15rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid var(--light-blue);
}

.services-jump-link {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.2rem 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.services-jump-link:hover {
    color: var(--primary-blue);
    padding-left: 0.2rem;
}

/* Services Page */
.services-page-section {
    padding: 4rem 0;
}

.service-detail-card {
    background: var(--white);
    border: 2px solid var(--light-blue);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 3rem;
    transition: var(--transition);
}

.service-detail-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.service-detail-header {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-blue);
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
    border-radius: 12px;
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Sora', sans-serif;
}

.service-tagline {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1.125rem;
    margin-top: 0.5rem;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: start;
}

.service-detail-text h3 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-detail-text h3:first-child {
    margin-top: 0;
}

.service-detail-text ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-detail-text ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.service-detail-text ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 600;
}

.service-detail-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 200px;
}

/* About Page */
.about-section {
    padding: 4rem 0;
}

.about-content {
    margin-bottom: 4rem;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 16px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.about-values {
    margin-top: 4rem;
}

.about-values h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    border: 2px solid var(--light-blue);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.value-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
    border-radius: 12px;
    margin: 0 auto 1rem;
    font-size: 0.875rem;
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'Sora', sans-serif;
}

.value-card h3 {
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--text-secondary);
}

.about-service-area {
    margin-top: 4rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-service-area h2 {
    margin-bottom: 1.5rem;
}

.about-service-area p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Contact Page */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
    border-radius: 8px;
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: 'Sora', sans-serif;
}

.contact-method h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contact-method p {
    margin-bottom: 0.25rem;
}

.contact-method a {
    color: var(--primary-blue);
    font-weight: 600;
}

.contact-method a:hover {
    color: var(--accent-green);
}

.contact-note {
    color: var(--text-light);
    font-size: 0.875rem;
}

.contact-hours {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
}

.contact-hours h3 {
    margin-bottom: 1rem;
}

.contact-hours ul {
    list-style: none;
}

.contact-hours li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.contact-form-container {
    background: var(--white);
    border: 2px solid var(--light-blue);
    border-radius: 16px;
    padding: 2rem;
}

.contact-form-container h2 {
    margin-bottom: 1.5rem;
}

.contact-form .form-group label {
    color: var(--text-primary);
    font-weight: 600;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    background: var(--white);
    border: 2px solid var(--light-blue);
    color: var(--text-primary);
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
    border-color: var(--primary-blue);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: rgba(31, 75, 153, 0.1);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: 2px solid #EF4444;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-image: url('../assets/circuit-pattern.svg');
    background-repeat: repeat;
    opacity: 0.35;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-year {
    color: var(--primary-blue);
    font-weight: 600;
    margin-top: 1rem;
}

.footer-bottom {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--light-bg);
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        min-height: 100vh;
        padding-bottom: 5rem;
    }

    .hero .container {
        flex: 0 0 auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Hide scroll indicator on mobile/tablet to avoid overlap */
    .hero .scroll-indicator {
        display: none !important;
    }
    
    .hero-title {
        font-size: 3rem;
    }

    .hero-logo-grid {
        width: 220px;
        height: 220px;
        gap: 10px;
    }

    .hero-logo-grid .logo-square {
        font-size: 3.5rem;
        border-radius: 10px;
    }

    .hero-square .hero-square-label {
        font-size: 0.65rem;
    }

    .hero-visual {
        min-height: 280px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-content {
        grid-template-columns: 1fr;
    }
    
    .service-detail-cta {
        flex-direction: row;
    }
}

@media (max-width: 1024px) {
    .services-jump-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero .scroll-indicator {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(-100%);
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .wizard-container {
        padding: 2rem 1.5rem;
    }
    
    .wizard-options {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .hero .scroll-indicator {
        display: none !important;
    }

    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .hero-logo-grid {
        width: 180px;
        height: 180px;
        gap: 8px;
    }

    .hero-logo-grid .logo-square {
        font-size: 2.75rem;
        border-radius: 8px;
        border-width: 2px;
    }

    .hero-square .hero-square-label {
        font-size: 0.6rem;
    }
    .hero-logo-grid .logo-square:nth-child(1) .hero-square-label,
    .hero-logo-grid .logo-square:nth-child(2) .hero-square-label {
        top: -1.25rem;
    }
    .hero-logo-grid .logo-square:nth-child(3) .hero-square-label,
    .hero-logo-grid .logo-square:nth-child(4) .hero-square-label {
        bottom: -1.25rem;
    }

    .hero-visual {
        min-height: 240px;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}
