/* --- System Reset & Variables --- */
:root {
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Clean Light Color Palette */
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-alt: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #64748b;
    
    /* Brand Accents (Burnt Red & Rose Palette) */
    --primary: #8b1d28;       /* Burnt Red */
    --primary-light: #a62835; /* Lighter Burnt Red */
    --primary-bg: #fdf2f2;    /* Soft Red Tint (50) */
    
    --secondary: #dfa1a2;     /* Soft Light Rose */
    --secondary-bg: #fdf4f4;  /* Rose Tint (50) */
    
    --emerald: #10b981;       /* Emerald 500 */
    --emerald-bg: #ecfdf5;    /* Emerald 50 */
    
    --blue: #2563eb;          /* Blue 600 */
    --blue-bg: #dbeafe;       /* Blue 50 */
    
    /* Neutral Borders and Shadows */
    --border: rgba(226, 232, 240, 0.8);
    --border-hover: rgba(203, 213, 225, 1);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

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

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

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

/* --- Global Layout Utilities --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 96px 0;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
}

p {
    color: var(--text-muted);
}

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

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px auto;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-icon {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(139, 29, 40, 0.3);
}

.btn-primary:hover {
    background-color: #73161f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 29, 40, 0.4);
}

.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--bg-card-alt);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary-bg);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background-color: var(--bg-page);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.mt-2 { margin-top: 12px; }
.mt-4 { margin-top: 24px; }

/* --- Navbar --- */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background-color: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    gap: 10px;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    color: var(--primary);
    width: 28px;
    height: 28px;
}

.logo-accent {
    color: var(--primary-light);
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

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

.btn-contact-nav {
    background-color: var(--primary-bg);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.btn-contact-nav::after {
    display: none;
}

.btn-contact-nav:hover {
    background-color: var(--primary);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    padding-top: 140px;
    background: radial-gradient(100% 100% at 100% 0%, rgba(253, 242, 242, 0.7) 0%, rgba(248, 250, 252, 1) 100%);
    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-bg);
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.hero-title {
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-features {
    display: flex;
    gap: 24px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.feature-icon {
    width: 20px;
    height: 20px;
}

.feature-icon.teal { color: var(--secondary); }
.feature-icon.emerald { color: var(--emerald); }
.feature-icon.blue { color: var(--blue); }

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-card {
    width: 100%;
    max-width: 440px;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
    transition: var(--transition);
}

.main-card:hover {
    transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
}

.card-header-mock {
    height: 40px;
    background-color: var(--bg-card-alt);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.title-mock {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    margin-left: 12px;
}

.card-body-mock {
    padding: 24px;
}

.mock-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-box {
    background-color: var(--bg-card-alt);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.stat-val {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 4px 0;
}

.stat-change {
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 2px;
}

.text-success { color: var(--emerald); }

.mock-chart {
    background-color: var(--bg-card-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
}

.chart-bar-container {
    height: 100px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 0 8px;
    border-bottom: 1px solid var(--border);
}

.chart-bar {
    width: 100%;
    background-color: var(--border-hover);
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
}

.chart-bar.active {
    background: linear-gradient(to top, var(--primary), var(--secondary));
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 8px;
    padding: 0 4px;
}

/* Floating widgets decoration */
.floating-widget {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.floating-widget h4 {
    font-size: 0.85rem;
    font-weight: 700;
}

.floating-widget p {
    font-size: 0.75rem;
    color: var(--text-light);
}

.widget-icon {
    padding: 8px;
    background-color: var(--primary-bg);
    color: var(--primary);
    border-radius: 8px;
    width: 36px;
    height: 36px;
}

.widget-1 {
    top: 10%;
    left: -20px;
    animation-delay: 0s;
}

.widget-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 3s;
}

.docker-color {
    background-color: var(--secondary-bg);
    color: var(--secondary);
}

.status-online {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--emerald);
    border-radius: 50%;
    margin-left: 4px;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 10;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 50px;
}

/* --- SaaS Section --- */
.saas-section {
    background-color: white;
    z-index: 20;
}

.saas-tabs-container {
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 32px;
    scrollbar-width: thin;
}

.saas-tabs-container::-webkit-scrollbar {
    height: 6px;
}

.saas-tabs-container::-webkit-scrollbar-thumb {
    background-color: var(--border-hover);
    border-radius: 3px;
}

.saas-tabs {
    display: flex;
    gap: 12px;
    width: max-content;
    margin: 0 auto;
    padding: 4px;
    background-color: var(--bg-page);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--text-main);
    background-color: rgba(255,255,255,0.5);
}

.tab-btn.active {
    color: var(--primary);
    background-color: var(--bg-card);
    box-shadow: var(--shadow-sm);
}

.saas-display {
    background-color: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow-md);
    min-height: 420px;
    transition: var(--transition);
}

.display-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.display-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--secondary-bg);
    color: var(--secondary);
    border-radius: 4px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.display-title {
    font-size: 1.85rem;
    margin-bottom: 16px;
}

.display-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.display-features {
    list-style: none;
    margin-bottom: 36px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

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

.display-features li i {
    color: var(--emerald);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.display-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 20px;
}

.display-price {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 600;
}

.price-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--emerald);
    font-family: var(--font-heading);
}

.price-period {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Mockups inside SaaS Tabs */
.display-preview {
    display: flex;
    justify-content: center;
}

.preview-mockup {
    width: 100%;
    max-width: 320px;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.mockup-header {
    height: 36px;
    background-color: var(--bg-card-alt);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.mockup-search {
    width: 100%;
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 4px;
    height: 22px;
    font-size: 0.7rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    padding-left: 8px;
}

.mockup-content {
    padding: 20px;
}

/* School mockup specific styles */
.mock-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
.mock-t-row {
    height: 12px;
    background-color: var(--bg-card-alt);
    border-radius: 4px;
}
.mock-t-row:nth-child(2) {
    width: 80%;
}
.mock-t-row:nth-child(3) {
    width: 60%;
}

/* Dentist mockup specific */
.dentist-mock-header {
    margin-bottom: 16px;
}
.dentist-mock-header h4 {
    font-size: 0.95rem;
}
.specialty {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}
.dentist-mock-calendar h5 {
    font-size: 0.8rem;
    margin-bottom: 8px;
    color: var(--text-muted);
}
.mock-days {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}
.mock-day {
    flex: 1;
    font-size: 0.7rem;
    text-align: center;
    padding: 6px;
    background-color: var(--bg-card-alt);
    border-radius: 6px;
    font-weight: 600;
}
.mock-day.active {
    background-color: var(--primary-bg);
    color: var(--primary);
}
.mock-hours {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}
.mock-hour {
    flex: 1;
    font-size: 0.65rem;
    text-align: center;
    padding: 6px;
    background-color: var(--bg-card-alt);
    border-radius: 6px;
}
.mock-hour.active {
    background-color: var(--secondary-bg);
    color: var(--secondary);
    font-weight: 600;
}
.btn-mock-book {
    width: 100%;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

/* POS Mockup specific */
.mock-circle-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-bg);
    margin: 0 auto 12px auto;
}
.mock-line {
    height: 10px;
    background-color: var(--bg-card-alt);
    border-radius: 4px;
    margin-bottom: 8px;
}
.mock-line-short {
    height: 10px;
    background-color: var(--bg-card-alt);
    border-radius: 4px;
    width: 60%;
    margin: 0 auto 12px auto;
}
.mock-btn-mini {
    width: 60px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 4px;
    margin: 0 auto;
}
.mock-price-tag {
    font-size: 1.25rem;
    font-weight: 800;
    text-align: center;
    color: var(--emerald);
    margin-bottom: 12px;
}

/* Barber / Nails / Gym mockup styling */
.barber-icon-mock {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 12px;
}
.barber-staff {
    display: flex;
    justify-content: space-around;
    margin-top: 12px;
}
.staff-member {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-card-alt);
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
}
.staff-member.active {
    border-color: var(--secondary);
    background-color: var(--secondary-bg);
}

/* Rent Control Mockup */
.mock-rent-status {
    background-color: var(--emerald-bg);
    color: var(--emerald);
    padding: 6px;
    border-radius: 6px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* --- Hosting & Infrastructure Section --- */
.hosting-section {
    background-color: var(--bg-page);
}

.hosting-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 56px;
}

.hosting-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

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

.hosting-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
    z-index: 5;
}

.hosting-card.featured:hover {
    transform: scale(1.04) translateY(-2px);
}

.card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hosting-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.hosting-icon {
    width: 28px;
    height: 28px;
}

.docker-blue { background-color: var(--secondary-bg); color: var(--secondary); }
.server-indigo { background-color: var(--primary-bg); color: var(--primary); }
.domain-emerald { background-color: var(--emerald-bg); color: var(--emerald); }

.hosting-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.hosting-card p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-bullets {
    list-style: none;
    margin-bottom: 28px;
}

.card-bullets li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.card-bullets li i {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.hosting-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

/* Custom systems banner */
.custom-systems-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-xl);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    box-shadow: var(--shadow-lg);
    gap: 32px;
}

.custom-systems-banner h3 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.custom-systems-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    max-width: 700px;
}

.custom-systems-banner .btn {
    white-space: nowrap;
}

/* --- Websites & Custom Development Section --- */
.websites-section {
    background-color: white;
}

.websites-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.website-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.website-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.website-card-header {
    padding: 32px 32px 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    color: white;
}

.website-card-header.web-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.website-card-header.dev-gradient {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.website-card-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    backdrop-filter: blur(4px);
}

.website-card-icon i {
    width: 24px;
    height: 24px;
}

.website-card-badge {
    background-color: white;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.website-card-badge.badge-alt {
    color: #334155;
}

.website-card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.website-card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.website-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.website-price-block {
    background-color: var(--bg-card-alt);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    border: 1px dashed var(--border);
}

.website-price-main {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
}

.website-price-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.website-price-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.website-price-currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.website-price-secondary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.website-price-maint {
    color: var(--primary);
    font-weight: 700;
}

.website-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.website-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.website-features li i {
    color: var(--primary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-quote-website {
    margin-top: auto;
}

/* --- Portfolio Section --- */
.portfolio-section {
    background-color: var(--bg-page);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.portfolio-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.portfolio-img-mock {
    height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dentist-theme { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); }
.shop-theme { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); }
.school-theme { background: linear-gradient(135deg, #f5f3ff 0%, #ddd6fe 100%); }

.project-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-main);
}

.mock-device {
    width: 160px;
    height: 110px;
    background-color: #1e293b;
    border-radius: 8px 8px 0 0;
    position: absolute;
    bottom: -15px;
    box-shadow: var(--shadow-lg);
    padding: 6px;
    display: flex;
    flex-direction: column;
}

.device-bar {
    height: 6px;
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.device-bar::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ef4444;
}

.device-body {
    flex-grow: 1;
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
    padding: 8px;
}

.mock-ui {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mock-dot {
    width: 20px;
    height: 6px;
    background-color: var(--border-hover);
    border-radius: 2px;
    margin-bottom: 8px;
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.portfolio-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.project-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-tech span {
    font-size: 0.75rem;
    font-weight: 600;
    background-color: var(--bg-card-alt);
    color: var(--text-light);
    padding: 4px 8px;
    border-radius: 4px;
}

/* --- Contact Section --- */
.contact-section {
    background-color: white;
}

.contact-card {
    background-color: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
}

.contact-info-panel {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-panel h2 {
    color: white;
    font-size: 2.25rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.contact-info-panel p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.contact-item:hover .contact-icon-box {
    transform: scale(1.1);
    background-color: white;
    color: var(--primary);
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.contact-icon-box i {
    width: 22px;
    height: 22px;
}

.contact-item h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.docker-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 9999px;
    margin-top: 48px;
    align-self: flex-start;
    font-size: 0.8rem;
    font-weight: 600;
}

.docker-pill i {
    width: 16px;
    height: 16px;
}

/* Contact Form */
.contact-form-panel {
    padding: 56px;
    background-color: white;
}

.contact-form-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 28px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input, .form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 29, 40, 0.15);
}

/* --- Footer --- */
.main-footer {
    background-color: var(--text-main);
    color: white;
    padding: 64px 0 32px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-light);
    max-width: 420px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    color: white;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    color: var(--text-light);
    transition: var(--transition);
}

.social-icons a:hover {
    color: white;
}

/* --- Animations Keyframes --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(139, 29, 40, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(139, 29, 40, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(139, 29, 40, 0); }
}

/* --- Benefits Section (PYMEs) --- */
.benefits-section {
    background-color: var(--bg-page);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.benefit-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.benefit-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon-wrapper i {
    width: 24px;
    height: 24px;
}

.benefit-icon-wrapper.text-indigo {
    background-color: var(--primary-bg);
    color: var(--primary);
}

.benefit-icon-wrapper.text-emerald {
    background-color: var(--emerald-bg);
    color: var(--emerald);
}

.benefit-icon-wrapper.text-cyan {
    background-color: var(--secondary-bg);
    color: var(--secondary);
}

.benefit-icon-wrapper.text-amber {
    background-color: #fef3c7; /* Amber 100 */
    color: #d97706; /* Amber 600 */
}

.benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

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

/* --- Responsive Adaptability (Media Queries) --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hosting-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hosting-card.featured {
        transform: scale(1);
    }
    .hosting-card.featured:hover {
        transform: translateY(-4px);
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .calculator-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 64px 0;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .hero-badge, .hero-actions, .hero-features {
        justify-content: center;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-visual {
        margin-top: 24px;
    }
    .main-card {
        transform: none !important;
    }
    .floating-widget {
        display: none; /* Hide floating ornaments on small mobile screens */
    }
    .saas-display {
        padding: 24px;
    }
    .display-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .display-preview {
        order: -1;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .hosting-grid {
        grid-template-columns: 1fr;
    }
    .custom-systems-banner {
        flex-direction: column;
        text-align: center;
        padding: 32px;
    }
    .websites-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-info-panel, .contact-form-panel {
        padding: 32px;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background-color: var(--bg-card);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        transform: translateY(-120%);
        transition: transform 0.3s ease-in-out;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.open {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.15rem;
    }
    .section-title {
        font-size: 1.85rem;
    }
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .display-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .display-actions, .display-actions .btn {
        width: 100%;
    }
    .sticky-sidebar {
        padding: 20px;
    }
}
