/* -------------------------------------------------------------
   iSYSTUUMM TECHNOLOGIES - Custom Stylesheet
   ------------------------------------------------------------- */

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Color System (HSL) */
    --color-bg-main: hsl(220, 20%, 6%);
    --color-bg-card: hsl(220, 16%, 10%);
    --color-bg-nav: rgba(10, 12, 18, 0.75);
    
    --color-text-primary: hsl(220, 100%, 98%);
    --color-text-secondary: hsl(220, 12%, 75%);
    --color-text-muted: hsl(220, 8%, 50%);
    
    --accent-blue-raw: 198, 93%, 55%; /* #29b6f6 (Sky blue/cyan matching the new logo) */
    --accent-blue: hsl(var(--accent-blue-raw));
    --accent-blue-hover: hsl(198, 93%, 45%);
    --accent-blue-glow: rgba(41, 182, 246, 0.15);
    
    --accent-red-raw: 354, 90%, 52%; /* #eb1c24 */
    --accent-red: hsl(var(--accent-red-raw));
    
    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Borders & Shadow */
    --border-glass: 1px solid rgba(255, 255, 255, 0.08);
    --border-glass-focus: 1px solid rgba(20, 79, 245, 0.4);
    --shadow-main: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-card-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-main);
    color: var(--color-text-primary);
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-main);
}
::-webkit-scrollbar-thumb {
    background: hsl(220, 16%, 18%);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

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

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

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

section {
    padding: 60px 0;
}

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

.section-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-primary {
    background-color: var(--accent-blue);
    color: var(--color-text-primary);
    border: none;
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 79, 245, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-left: 12px;
}

.btn-secondary:hover {
    border-color: var(--color-text-primary);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition-fast);
}

/* Scrolled Nav Glassmorphism state */
.header.scrolled {
    background-color: var(--color-bg-nav);
    backdrop-filter: blur(16px);
    border-bottom: var(--border-glass);
    padding: 12px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
    transition: var(--transition-fast);
}

.header.scrolled .header-container {
    padding-top: 10px;
    padding-bottom: 10px;
}

.logo-link {
    display: block;
    height: 50px;
    width: 170px;
    overflow: hidden;
    position: relative;
}

.logo-img {
    position: absolute;
    height: 220px;
    width: 220px;
    object-fit: contain;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}

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

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

/* Nav underline indicator */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-cta {
    background-color: hsl(220, 20%, 14%);
    color: var(--color-text-primary);
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: var(--border-glass);
}

.btn-cta:hover {
    background-color: var(--color-text-primary);
    color: var(--color-bg-main);
    border-color: var(--color-text-primary);
}

/* Mobile Toggle Hamburger */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-primary);
    position: relative;
    transition: background-color var(--transition-fast);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    left: 0;
    transition: transform var(--transition-fast);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Active Hamburger State */
.nav-toggle.active .hamburger {
    background-color: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 140px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 12, 18, 0.85) 0%,
        rgba(10, 12, 18, 0.95) 70%,
        var(--color-bg-main) 100%
    );
    z-index: 1;
}

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

.hero-content {
    max-width: 780px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(20, 79, 245, 0.1);
    border: 1px solid rgba(20, 79, 245, 0.25);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--accent-blue);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: var(--color-text-secondary);
}

/* --- Clients Section --- */
.clients {
    background-color: hsl(220, 20%, 4%);
    padding: 60px 0;
    border-bottom: var(--border-glass);
}

.clients-title {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    align-items: center;
    justify-content: center;
}

.client-card {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.client-card:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.client-logo-svg {
    width: 100%;
    max-width: 160px;
    height: 48px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: var(--transition-fast);
}

.client-card:hover .client-logo-svg {
    opacity: 1;
    filter: grayscale(0%);
}

/* --- Services Section --- */
.services {
    background-color: var(--color-bg-main);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px; /* Creates clean board lines */
    background-color: rgba(255, 255, 255, 0.05); /* Outline color */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-main);
}

.service-card {
    background-color: var(--color-bg-card);
    padding: 48px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.service-card:hover {
    background-color: hsl(220, 16%, 13%);
}

.service-icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background-color: rgba(20, 79, 245, 0.08);
    color: var(--accent-blue);
    border: 1px solid rgba(20, 79, 245, 0.15);
    margin-bottom: 28px;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon-box {
    background-color: var(--accent-blue);
    color: var(--color-text-primary);
}

.service-icon {
    width: 24px;
    height: 24px;
}

.service-code {
    position: absolute;
    top: 48px;
    right: 48px;
    font-family: monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text-primary);
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* --- Process Section --- */
.process {
    background-color: hsl(220, 20%, 4%);
}

.process-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.process-intro {
    max-width: 800px;
}

.process-headline {
    font-size: 2.75rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.process-subhead {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.pipeline-container {
    position: relative;
    padding: 40px 0;
}

.pipeline-track {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(20, 79, 245, 0.3) 50%, 
        rgba(255, 255, 255, 0.05) 100%
    );
    z-index: 1;
}

.pipeline-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.pipeline-step {
    position: relative;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-bg-main);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    transition: var(--transition-fast);
    box-shadow: 0 0 0 4px var(--color-bg-main);
}

.pipeline-step:hover .step-num {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: 0 0 15px var(--accent-blue-glow);
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* --- Pricing Section --- */
.pricing {
    background-color: var(--color-bg-main);
}

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

.pricing-card {
    background-color: var(--color-bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 48px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Growth Featured Card styling */
.pricing-card.featured {
    background-color: hsl(220, 16%, 12%);
    border: 1px solid rgba(20, 79, 245, 0.4);
    box-shadow: var(--shadow-main);
}

.pricing-card.featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 40px rgba(20, 79, 245, 0.05) inset;
    pointer-events: none;
}

.card-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-blue);
    color: var(--color-text-primary);
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(20, 79, 245, 0.4);
}

.card-header {
    margin-bottom: 32px;
}

.card-tier {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
    margin-bottom: 8px;
    display: block;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.card-sub {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.card-features {
    list-style: none;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1; /* Pushes button to bottom */
}

.card-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-blue);
    flex-shrink: 0;
    margin-top: 3px;
}

.btn-card-outline {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    width: 100%;
}

.btn-card-outline:hover {
    border-color: var(--color-text-primary);
    background-color: rgba(255, 255, 255, 0.04);
}

.btn-card-filled {
    background-color: var(--accent-blue);
    color: var(--color-text-primary);
    border: none;
    text-align: center;
    width: 100%;
    box-shadow: 0 4px 15px rgba(20, 79, 245, 0.2);
}

.btn-card-filled:hover {
    background-color: var(--accent-blue-hover);
    box-shadow: 0 8px 25px rgba(20, 79, 245, 0.4);
    transform: translateY(-2px);
}

/* --- About Section --- */
.about {
    background-color: hsl(220, 20%, 4%);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.visual-card {
    background-color: var(--color-bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: 32px;
    font-family: monospace;
    font-size: 0.9rem;
    box-shadow: var(--shadow-main);
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-red));
}

.card-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
}

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

.dot.red { background-color: var(--accent-red); }
.dot.yellow { background-color: hsl(45, 100%, 50%); }
.dot.green { background-color: hsl(120, 100%, 40%); }

.code-block {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.line.keyword { color: hsl(300, 70%, 65%); }
.line.variable { color: hsl(200, 80%, 65%); }
.line.value { color: hsl(95, 60%, 60%); }

.about-content {
    display: flex;
    flex-direction: column;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    border-top: var(--border-glass);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

/* --- Contact Section --- */
.contact {
    background-color: var(--color-bg-main);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    background-color: var(--color-bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-main);
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-subtitle {
    font-size: 1.05rem;
    margin-bottom: 48px;
    color: var(--color-text-secondary);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.03);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
}

.info-details {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.info-link {
    font-size: 1.1rem;
    font-weight: 600;
    word-break: break-all;
}

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

.info-address {
    font-size: 0.95rem;
    font-style: normal;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Form Styling */
.contact-form-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.form-control {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.02);
    border: var(--border-glass);
    color: var(--color-text-primary);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-control::placeholder {
    color: var(--color-text-muted);
}

.form-control:focus {
    border-color: var(--accent-blue);
    background-color: rgba(20, 79, 245, 0.02);
}

.select-control {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.select-control option {
    background-color: var(--color-bg-card);
    color: var(--color-text-primary);
}

.btn-submit {
    background-color: var(--accent-blue);
    color: var(--color-text-primary);
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: var(--transition-fast);
}

.btn-submit:hover {
    background-color: var(--accent-blue-hover);
    box-shadow: 0 5px 15px rgba(20, 79, 245, 0.3);
}

/* Spinner */
.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form Alerts */
.form-alert {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 10px;
    animation: fadeIn var(--transition-fast) forwards;
}

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

.form-alert.success {
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-alert.success .alert-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.2);
    color: hsl(120, 100%, 45%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.form-alert.error {
    background-color: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.form-alert.error .alert-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(239, 68, 68, 0.2);
    color: hsl(0, 100%, 65%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.alert-content h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.alert-content p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.hidden {
    display: none !important;
}

/* --- Footer Section --- */
.footer {
    background-color: hsl(220, 20%, 3%);
    border-top: var(--border-glass);
    padding: 80px 0 40px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo-wrap {
    display: block;
    height: 50px;
    width: 170px;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
}

.footer-logo {
    position: absolute;
    height: 220px;
    width: 220px;
    object-fit: contain;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 28px;
    line-height: 1.6;
}

.footer-sub-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    display: block;
}

.footer-address {
    font-style: normal;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-list a:hover {
    color: var(--color-text-primary);
    transform: translateX(4px);
}

.contact-email-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-contact-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-blue);
    flex-shrink: 0;
}

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

.support-text {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-top: 12px;
}

.footer-bottom {
    border-top: var(--border-glass);
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* --- Responsive Media Queries --- */

/* Tablet (1024px) */
@media (max-width: 1024px) {
    section {
        padding: 45px 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 40px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 40px;
    }
    
    .footer-container {
        grid-template-columns: 1.2fr 1fr;
    }
    
    .footer-contact {
        grid-column: span 2;
    }
    
    .pipeline-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .pipeline-track {
        display: none; /* Hide horizontal track on wrap layout */
    }
}

/* Mobile Devices (768px) */
@media (max-width: 768px) {
    .logo-link {
        width: 130px;
        height: 38px;
    }

    .logo-img {
        height: 160px;
        width: 160px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .footer-logo-wrap {
        width: 130px;
        height: 38px;
    }

    .footer-logo {
        height: 160px;
        width: 160px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .nav-toggle {
        display: block;
        z-index: 1100;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background-color: rgba(10, 12, 18, 0.92);
        backdrop-filter: blur(20px);
        border-left: var(--border-glass);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        padding: 100px 32px 32px 32px;
        transform: translateX(100%);
        transition: transform var(--transition-smooth);
        z-index: 1000;
    }
    
    .navbar.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .btn-cta {
        width: 100%;
        text-align: center;
        margin-top: 16px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 32px;
    }
    
    .service-code {
        top: 32px;
        right: 32px;
    }
    
    .process-headline {
        font-size: 2.2rem;
    }
    
    .pipeline-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-contact {
        grid-column: span 1;
    }
}

/* Small Screens (480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.1rem;
    }
    
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
    }
    
    .btn-secondary {
        margin-left: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        padding: 24px 16px;
        width: 100%;
        overflow: hidden;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        margin-bottom: 32px;
        font-size: 0.95rem;
    }
    
    .info-link {
        font-size: 0.95rem;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
}

/* --- Policy Pages Layout --- */
.policy-page {
    padding-top: 180px;
    padding-bottom: 80px;
}

.policy-content {
    background-color: var(--color-bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-main);
}

.policy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.policy-meta {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.policy-section {
    margin-bottom: 32px;
}

.policy-section h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--color-text-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.policy-section p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
    color: var(--color-text-secondary);
}

.policy-section ul {
    list-style-type: square;
    margin-left: 20px;
    margin-bottom: 16px;
    color: var(--color-text-secondary);
}

.policy-section li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .policy-content {
        padding: 30px 20px;
    }
    
    .policy-content h1 {
        font-size: 2rem;
    }
}
