/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - Refined Professional Blue */
    --primary-color: #2563eb;  /* Blue-600 */
    --primary-dark: #1d4ed8;  /* Blue-700 */
    --secondary-color: #3b82f6; /* Blue-500 */
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-dark: #042f32;
    --footer-bg-start: #2563eb;
    --footer-bg-end: #1d4ed8;
    --hero-overlay: rgba(2,6,23,0.06);
    --accent-stroke: var(--primary-dark);
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    --font-mono: 'Cascadia Code', 'Fira Code', 'JetBrains Mono', monospace;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 1rem;
    --max-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Utility Classes */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

/* Packages cards (turn-key offerings) */
.packages-section {
    margin: 2rem 0 3rem;
}
.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto 2rem;
}
.package-card {
    background: #ffffff;
    border: 1px solid rgba(2,6,23,0.06);
    padding: 1.25rem;
    border-radius: 12px;
    color: var(--text-primary);
    box-shadow: 0 6px 18px rgba(2,6,23,0.06);
}
.package-card {
    background: #ffffff;
    border: 1px solid rgba(2,6,23,0.06);
    padding: 1.25rem;
    border-radius: 12px;
    color: var(--text-primary);
    box-shadow: 0 6px 18px rgba(2,6,23,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.package-badge {
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
}
.package-price {
    margin: 0.25rem 0 0.5rem;
    color: var(--text-primary);
}
.package-list {
    margin: 0.75rem 0 1rem;
    color: var(--text-secondary);
    list-style: none;
    padding: 0;
}
.package-list li {
    margin-bottom: 0.5rem;
    text-align: center;
}
.package-perfect {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

/* Emphasis styles to make packages stand out */
.package-title {
    font-size: 1.25rem;
    margin: 0.25rem 0 0.5rem;
    font-weight: 700;
}

.package-card {
    background: #ffffff;
    border: 2px solid var(--accent-stroke);
    padding: 1.25rem;
    border-radius: 12px;
    color: var(--text-primary);
    box-shadow: 0 6px 18px rgba(2,6,23,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Enable positioned overlays (print button, badges) */
.package-card {
    position: relative;
}

/* Print button positioned in the top-right of each plan card */
.print-plan {
    position: absolute;
    top: 10px;
    left: 10px;
    right: auto;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(2,6,23,0.06);
    padding: 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.print-plan svg { width: 18px; height: 18px; display: block; }
.print-plan:hover { transform: scale(1.06); box-shadow: var(--shadow-md); }

/* Hide print controls on smaller screens where printing isn't expected */
@media (max-width: 700px) {
    .print-plan { display: none; }
}

/* When printing the full page, hide the interactive controls */
@media print {
    .print-plan { display: none !important; }
}

.package-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(2,6,23,0.12);
}

.package-card .btn-primary {
    margin-top: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-weight: 700;
}

.package-card .btn-primary:hover {
    transform: translateY(-2px);
}

/* Highlighted card styling for 'Build Your Brand' */
.package-card.highlight {
    background: #ffffff;
    color: var(--text-primary);
    border: 2px solid var(--accent-stroke); /* dark-blue stroke */
    box-shadow: 0 10px 30px rgba(11,61,145,0.06);
}

.package-card.highlight .package-badge {
    background: #d946ef;
    color: white;
}

.package-card.highlight .package-price,
.package-card.highlight .package-perfect,
.package-card.highlight p {
    color: var(--text-primary);
}

.package-card.highlight .btn-primary {
    background: linear-gradient(135deg, var(--accent-stroke), #1347b8);
    color: white;
}

.package-card.highlight::after {
    content: "Most Popular";
    position: absolute;
    right: 18px;
    top: -10px;
    background: #d946ef;
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .packages-grid { grid-template-columns: 1fr; }
}

/* Masonry intro tile that spans the packages grid */
.masonry-tile.intro-tile {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(2,6,23,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
}

.section-header h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 1rem;
    line-height: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

/* Updated CTA button: yellow gradient */
.btn-cta {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 55%, #fef3c7 100%);
    color: #1f2937;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(245,158,11,0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    border: none;
}
.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(245,158,11,0.16);
    filter: brightness(1.03);
}
.btn-cta:active { transform: translateY(0); }
.btn-cta.btn-full { width: 100%; }

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.logo-accent {
    color: var(--primary-color);
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a.nav-cta {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
}

.nav-menu a.nav-cta:hover {
    background: var(--primary-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #06b6d4 0%, #0ea5b8 60%, #0891b2 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Geometric shapes removed — kept grid-overlay for subtle texture */

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(6, 182, 212, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 232, 249, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    animation: gridMove 20s linear infinite;
    mix-blend-mode: screen;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
}

/* subtle overlay for hero to keep text readable without heavy darkness */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--hero-overlay), rgba(0,0,0,0));
    pointer-events: none;
}

/* Image-only hero variant: keeps only a responsive image (object-fit: cover) */
.hero.hero-image-only {
    padding: 0;
    display: block;
    position: relative;
    overflow: hidden;
    background: none;
}

.hero.hero-image-only .hero-img {
    width: 100%;
    height: auto; /* allow natural aspect ratio */
    max-height: 80vh; /* constrain very tall images on desktop */
    display: block;
    object-fit: cover;
    object-position: center center; /* center the crop */
}

@media (max-width: 480px) {
    .hero.hero-image-only {
        padding-top: 1rem; /* small breathing room above services */
    }

    .hero.hero-image-only .hero-img {
        height: auto;
        max-height: 45vh; /* mobile: limit vertical space but allow taller crops */
        width: 100%;
        object-fit: cover;
        /* shift crop to show left/logo area on small phones */
        object-position: 15% center;
        display: block;
    }
}

/* Tablet range: ensure reasonable hero height without cutting text */
@media (min-width: 481px) and (max-width: 1024px) {
    .hero.hero-image-only .hero-img {
        max-height: 55vh;
        object-position: center center;
    }
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    padding: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 0;
    left: 0;
    width: 200px;
    height: 120px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 100px;
    right: 0;
    width: 180px;
    height: 100px;
    animation-delay: 2s;
}

.floating-card.card-3 {
    bottom: 0;
    left: 50px;
    width: 160px;
    height: 90px;
    animation-delay: 4s;
}

/* Enhanced Floating Card Content */
.mini-website {
    width: 100%;
    height: 100%;
}

.mini-nav {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.nav-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.mini-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    height: 20px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.mini-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mini-line {
    background: var(--border-color);
    height: 6px;
    border-radius: 2px;
}

.mini-line.short {
    width: 60%;
}

.analytics-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chart-header {
    font-size: 10px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 3px;
    height: 40px;
    justify-content: center;
}

.bar {
    width: 8px;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.bar-1 { height: 60%; }
.bar-2 { height: 80%; }
.bar-3 { height: 100%; }
.bar-4 { height: 70%; }

.chart-label {
    font-size: 8px;
    text-align: center;
    color: var(--text-secondary);
    font-weight: 500;
}

.mobile-mockup {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.phone-frame {
    width: 40px;
    height: 60px;
    background: var(--text-primary);
    border-radius: 8px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 4px;
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.phone-header {
    background: var(--primary-color);
    height: 8px;
    border-radius: 2px;
}

.phone-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.phone-element {
    background: var(--border-color);
    height: 4px;
    border-radius: 1px;
}

.phone-element.small {
    width: 50%;
}

.responsive-label {
    font-size: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Services Section */
.services {
    padding: 2.5rem 0; /* Reduced by 50% from 5rem for tighter spacing */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Graphics Section */
.graphics {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.graphics-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.graphics-text h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.graphics-subtitle {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.graphics-text p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.graphics-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.feature-text h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.feature-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.graphics-tools {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    height: fit-content;
    position: sticky;
    top: 6rem;
}

.graphics-tools h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.25rem;
}

.tools-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tool-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition-fast);
}

.tool-item:hover {
    background: #e0e7ff;
    transform: translateX(5px);
}

.tool-name {
    font-weight: 500;
    color: var(--text-primary);
}

.tool-experience {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    background: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

/* Hosting Section */
.hosting {
    padding: 2.5rem 0; /* Reduced by 50% from 5rem for tighter spacing */
    background: var(--bg-secondary);
}

/* Highlight wrapper for hosting content to separate it visually (darker blue with more cyan) */
.hosting-highlight {
    /* teal/blue base with a left-to-right whitish overlay so the right side lightens */
    background:
        linear-gradient(90deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.14) 60%, rgba(255,255,255,0.26) 100%),
        linear-gradient(180deg, #4abcf9 0%, #2ea0e8 100%); /* base color: #4abcf9 */
    color: white;
    padding: 2.25rem;
    border-radius: 1.25rem;
        box-shadow: 0 14px 40px rgba(0,186,255,0.14);
        border: 1px solid rgba(255,255,255,0.04);
        margin-bottom: 2rem;
        /* use theme primary color as the base with a left-to-right whitish overlay */
        background:
            linear-gradient(90deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.14) 60%, rgba(255,255,255,0.26) 100%),
            linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.hosting-highlight .hosting-hero,
.hosting-highlight .services-breakdown {
    background: transparent;
}

.hosting-highlight .stat-large {
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 55%, #fef3c7 100%); /* yellow gradient */
    border-left-color: rgba(255,255,255,0.08);
    color: #1f2937; /* dark text to match CTA buttons */
    box-shadow: 0 8px 20px rgba(245,158,11,0.08);
}

.hosting-highlight .stat-number-large {
    color: #1f2937; /* darker number color for contrast on orange gradient */
}

.hosting-highlight .hosting-description h3 {
    color: white; /* make the main bubble title white per request */
}

.hosting-highlight .hosting-description p {
    color: rgba(255,255,255,0.9); /* keep paragraph readable on the overlay */
}

@media (max-width: 768px) {
    .hosting-highlight { padding: 1.25rem; }
}

.hosting-content {
    margin-bottom: 4rem;
}

/* Large highlighted wrapper for plans + CTA */
.plans-highlight {
    /* match the hosting-highlight background (theme primary color + left-to-right white overlay) */
    background:
        linear-gradient(90deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.14) 60%, rgba(255,255,255,0.26) 100%),
        linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 14px 40px rgba(0,186,255,0.14);
    border: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 2rem;
}

.plans-highlight .packages-grid {
    gap: 1.25rem;
}

.plans-highlight .package-card {
    background: white;
}

/* hosting-cta sits outside the plans highlight now */

.hosting-hero {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.hosting-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-large {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--primary-color);
}

.stat-number-large {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label-large {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hosting-description h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.hosting-description p {
    font-size: 1.125rem;
    line-height: 1.7;
}

.services-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-step {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.service-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.step-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.hosting-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 3rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.hosting-cta h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.hosting-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.hosting-cta .btn {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    font-weight: 700;
    border: none;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.18);
}

.hosting-cta .btn:hover {
    background: linear-gradient(135deg, #ea580c, #dc2626);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(234, 88, 12, 0.24);
}

/* Portfolio Section */
.portfolio {
    padding: 2.5rem 0; /* Reduced by 50% from 5rem for tighter spacing */
    background: var(--bg-secondary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    height: 250px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.placeholder-image {
    color: var(--text-light);
    font-size: 1.25rem;
    font-weight: 500;
}

.portfolio-content {
    padding: 1.5rem;
    text-align: center;
}

.portfolio-content h3 {
    margin-bottom: 0.5rem;
}

.portfolio-tag {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.portfolio-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 1rem;
    margin-left: 0.5rem;
    transition: all var(--transition-normal);
}

.portfolio-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* About Section */
.about {
    padding: var(--section-padding);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    justify-items: center;
}

.about-text {
    max-width: 900px;
    text-align: center;
}

.about-text h2 {
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.code-window {
    background: var(--bg-dark);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.window-header {
    background: #1f2937;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.window-buttons {
    display: flex;
    gap: 0.5rem;
}

.window-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn-close {
    background: #ef4444;
}

.btn-minimize {
    background: #f59e0b;
}

.btn-maximize {
    background: #10b981;
}

.window-title {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-left: auto;
    font-family: var(--font-mono);
}

.code-content {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.6;
}

.code-line {
    color: #e5e7eb;
    margin-bottom: 0.5rem;
}

.code-keyword {
    color: #c084fc;
}

.code-function {
    color: #60a5fa;
}

.code-property {
    color: #34d399;
}

.code-string {
    color: #fbbf24;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 360px; /* main form + narrow icons column for closer layout */
    gap: 0.5rem; /* tightened spacing between form and contact icons */
    max-width: 1000px; /* constrain width on large screens */
    margin: 0 auto; /* center the contact area */
    align-items: center; /* center form and icons vertically */
}

.contact-form {
    background: white;
    padding: 2.5rem; /* increased inner padding for more breathing room */
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.contact-form .honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    height: 1px;
    width: 1px;
}

.contact-form-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}


.form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-group:not(:last-of-type) {
    margin-bottom: 1.1rem;
}

.contact-form .recaptcha-container {
    display: flex;
    justify-content: center;
    margin-bottom: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* reduced spacing between contact items */
    align-items: center; /* center horizontally within the form column */
    justify-content: center; /* center vertically if container allows */
}

.contact-item {
    display: flex;
    flex-direction: column; /* stack icon above text */
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.contact-icon {
    font-size: 1.5rem;
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.contact-item h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.contact-item p {
    margin: 0;
    color: var(--text-secondary);
}

/* overlap/contact alignment tweaks: bring the icon column visually into the form bubble on wide screens */
.contact-info {
    margin-left: -40px; /* overlap into the form bubble */
    padding-left: 8px;
    align-self: center;
}

@media (max-width: 768px) {
    .contact-info {
        margin-left: 0;
        padding-left: 0;
        width: 100%;
    }

    .contact-content {
        align-items: start; /* revert stacking on mobile */
    }
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--footer-bg-start), var(--footer-bg-end));
    color: white;
    padding: 1.4rem 0 0.6rem; /* slightly tighter vertical padding */
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
    text-align: center;
}

.footer-brand .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    margin-bottom: 1rem;
    display: block;
}

.footer-logo {
    height: 72px; /* slightly reduced to keep balance */
    width: auto;
    max-width: 360px;
    object-fit: contain;
    margin-bottom: 0.2rem; /* tightened under-logo spacing */
    filter: none;
    background: white; /* place logo on a white pill for legibility */
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-brand p {
    color: rgba(255,255,255,0.95);
    margin: 0;
}

.footer-sub {
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    margin-top: 0.15rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 0.6rem;
    text-align: center;
}

.footer-bottom p {
    color: #a7f0ea;
    margin: 0;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .nav-container {
        justify-content: center;
    }
    
    .nav-logo {
        flex: 1;
        text-align: center;
    }
    
    .hamburger {
        position: absolute;
        right: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Additional Responsive Design */
@media (max-width: 768px) {
    
    .hero-container {
        text-align: center;
    }
    
    .shape {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .graphics-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .graphics-tools {
        position: static;
        order: -1;
    }
    
    .hosting-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hosting-stats {
        flex-direction: row;
        justify-content: center;
    }
    
    .services-breakdown {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        /* Center the footer brand on tablet by removing container constraints */
        margin: 0 -1rem;
        padding: 0 1rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 0 2rem;
        min-height: 0;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Fix hosting stats chips on mobile */
    .stat-large {
        padding: 1rem;
        min-width: 0; /* Allow shrinking */
        flex: 1; /* Equal width in row */
    }
    
    .stat-number-large {
        font-size: 2rem;
    }
    
    .stat-label-large {
        font-size: 0.875rem;
    }
    
    /* Ensure hosting description text wraps properly */
    .hosting-description h3 {
        font-size: 1.5rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .hosting-description p {
        font-size: 1rem;
        word-wrap: break-word;
        hyphens: auto;
    }
}

/* Tablet adjustments */
@media (min-width: 481px) and (max-width: 1024px) {
    .hero.hero-image-only .hero-img {
        max-height: 50vh;
        object-position: center center;
    }
}

/* Plans title above the plans-highlight bubble */
.plans-title-container {
    text-align: center;
    margin-bottom: 0.75rem;
}
.plans-title {
    color: var(--text-primary);
    font-size: clamp(1.5rem, 3.2vw, 2.25rem);
    font-weight: 600; /* match other headings */
    margin: 0;
    font-family: var(--font-primary);
}

/* Apply same highlighted bubble background to the contact form */
.contact-form {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.14) 60%, rgba(255,255,255,0.26) 100%),
        linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(0,186,255,0.08);
    border: 1px solid rgba(255,255,255,0.04);
}

.contact-form-title { color: white; }

/* Keep inputs white for legibility */
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    background: white;
    color: var(--text-primary);
}

/* Reduce space between hero and services on mobile */
@media (max-width: 768px) {
    .services {
        padding-top: 0.5rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* Reduce space between hosting CTA and portfolio on mobile */
    .portfolio {
        padding-top: 1rem;
    }
}

@media (max-width: 480px) {
    .services {
        padding-top: 1rem;
    }
    
    .section-header {
        margin-bottom: 1rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}