/* ==========================================================================
   NovaTech Solutions - Premium CSS stylesheet
   ========================================================================== */

/* Design Tokens & Root Variables */
:root {
    --bg-color: #030712;
    --card-bg: rgba(255, 255, 255, 0.025);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-hover: rgba(255, 255, 255, 0.18);
    --primary-accent: #6366f1;
    --primary-grad: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --secondary-grad: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --nav-bg: rgba(3, 7, 18, 0.7);
    --nav-border: rgba(255, 255, 255, 0.06);
    
    /* Service Card Gradients */
    --grad-1: linear-gradient(135deg, #6366f1 0%, #3b82f6 100%);
    --grad-2: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    --grad-3: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    --grad-4: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --grad-5: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
    --grad-6: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    
    --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

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

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

.text-center { text-align: center; }
.max-width-center {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.text-gradient {
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.highlight-cyan {
    color: #06b6d4;
    font-weight: 600;
}
.hidden { display: none !important; }

/* Background Floating Glow Orbs */
.bg-glows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
}
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.22;
    mix-blend-mode: screen;
}
.orb-1 {
    top: 5%;
    left: 10%;
    width: 450px;
    height: 450px;
    background: #6366f1;
    animation: floatOrb 22s infinite alternate;
}
.orb-2 {
    top: 35%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: #a855f7;
    animation: floatOrb 28s infinite alternate-reverse;
}
.orb-3 {
    bottom: 15%;
    left: 15%;
    width: 400px;
    height: 400px;
    background: #06b6d4;
    animation: floatOrb 24s infinite alternate;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -60px) scale(1.15); }
    100% { transform: translate(-30px, 40px) scale(0.9); }
}

/* Glassmorphism System */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform var(--transition-normal), border var(--transition-normal), box-shadow var(--transition-normal);
}
.glass:hover {
    border: 1px solid var(--card-border-hover);
    box-shadow: 0 12px 40px 0 rgba(99, 102, 241, 0.12);
}

/* 1. Preloader Screen */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity var(--transition-slow) ease, visibility var(--transition-slow) ease;
}
.loader-content {
    text-align: center;
}
.loader-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    display: inline-flex;
    gap: 2px;
}
.loader-logo span:nth-child(1) {
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.loader-logo span:nth-child(2) {
    background: var(--secondary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.loader-bar-container {
    width: 180px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}
.loader-bar {
    width: 0%;
    height: 100%;
    background: var(--primary-grad);
    border-radius: 10px;
    animation: loadProgress 1.8s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}
.loader-text {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 1rem;
}

@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 65%; }
    100% { width: 100%; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    gap: 8px;
}
.btn-primary {
    background: var(--primary-grad);
    color: var(--text-primary);
    border: none;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}
.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Sections Global Headers */
section {
    padding: 7rem 0;
    position: relative;
}
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}
.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* 2. Navigation Header & Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-normal);
}
.header.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--nav-border);
    padding: 0.6rem 0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    transition: var(--transition-normal);
}
.header.scrolled .header-container {
    height: 55px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.logo span {
    background: linear-gradient(to right, #ffffff, #d1d5db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}
.nav-link:hover {
    color: var(--text-primary);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-grad);
    transition: width var(--transition-fast) ease;
}
.nav-link.active {
    color: var(--text-primary);
}
.nav-link.active::after {
    width: 100%;
}
.nav-cta {
    background: var(--primary-grad);
    color: var(--text-primary) !important;
    padding: 0.5rem 1.4rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
}
.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    border-radius: 3px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* 3. Hero Section */
.hero-section {
    padding-top: 10rem;
    padding-bottom: 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}
.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary-accent);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 30px;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 3.8rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}
.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 540px;
}
.hero-actions {
    display: flex;
    gap: 1.25rem;
}

/* Hero Terminal Visual */
.hero-visual {
    position: relative;
}
.visual-box {
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.visual-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }
.visual-title {
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--text-muted);
    margin-left: 0.5rem;
}
.visual-body {
    padding: 1.5rem;
    font-family: monospace;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #e5e7eb;
}
.visual-body pre {
    white-space: pre-wrap;
    word-break: break-all;
}
.code-comment { color: var(--text-muted); }
.code-success { color: #10b981; }
.code-accent { color: #a855f7; }
.code-info { color: #3b82f6; }
.code-link { color: #06b6d4; text-decoration: underline; }
.visual-stats {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
}
.stat-mini {
    flex: 1;
    padding: 1rem 1.5rem;
    text-align: left;
}
.stat-mini:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.stat-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}
.stat-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* 4. About Us Section */
.about-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
    align-items: center;
}
.about-image-wrapper {
    position: relative;
}
.about-image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary-grad);
    opacity: 0.15;
    filter: blur(80px);
    z-index: -1;
}
.about-img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform var(--transition-slow);
}
.about-image-wrapper:hover .about-img {
    transform: scale(1.03) rotate(0.5deg);
}
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.stat-item {
    padding: 1.5rem;
    text-align: center;
}
.stat-num {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 5. Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
}
.service-card {
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-8px);
}
.service-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    color: #ffffff;
}
.service-icon-box.grad-1 { background: var(--grad-1); }
.service-icon-box.grad-2 { background: var(--grad-2); }
.service-icon-box.grad-3 { background: var(--grad-3); }
.service-icon-box.grad-4 { background: var(--grad-4); }
.service-icon-box.grad-5 { background: var(--grad-5); }
.service-icon-box.grad-6 { background: var(--grad-6); }

.service-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
    color: var(--text-primary);
}
.service-card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    line-height: 1.6;
}
.service-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-accent);
}
.service-learn-more svg {
    transition: transform var(--transition-fast);
}
.service-card:hover .service-learn-more svg {
    transform: translateX(4px);
}

/* 6. Why Choose Us Section */
.why-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 5rem;
    align-items: center;
}
.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 2rem;
}
.benefit-item {
    display: flex;
    gap: 1.25rem;
}
.benefit-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(6, 182, 212, 0.2);
}
.benefit-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}
.benefit-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.why-visual-panel {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.features-badge-glass {
    padding: 3rem 2.5rem;
    max-width: 400px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.radial-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    z-index: -1;
}
.badge-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}
.features-badge-glass h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}
.features-badge-glass p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 7. Portfolio/Projects Section */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}
.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--primary-grad);
    border-color: transparent;
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}
.portfolio-item {
    overflow: hidden;
    opacity: 1;
    transform: scale(1);
    transition: transform var(--transition-normal), opacity var(--transition-normal), border var(--transition-normal), box-shadow var(--transition-normal);
}
.portfolio-item.hidden-grid-item {
    display: none;
}
.portfolio-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 7, 18, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-normal);
}
.project-view-badge {
    background: var(--text-primary);
    color: var(--bg-color);
    padding: 0.6rem 1.25rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: translateY(15px);
    transition: var(--transition-normal);
}
.portfolio-item:hover .portfolio-img {
    transform: scale(1.08);
}
.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}
.portfolio-item:hover .project-view-badge {
    transform: translateY(0);
}
.portfolio-info {
    padding: 1.75rem;
}
.portfolio-item-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #06b6d4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.portfolio-item-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.portfolio-item-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 8. Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.testimonial-card {
    padding: 3rem 2.25rem;
    position: relative;
}
.quote-icon {
    font-size: 4rem;
    font-family: 'Outfit', sans-serif;
    color: rgba(99, 102, 241, 0.15);
    position: absolute;
    top: 15px;
    left: 20px;
    line-height: 1;
}
.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}
.client-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
}
.grad-avatar-1 { background: var(--grad-1); }
.grad-avatar-2 { background: var(--grad-2); }
.grad-avatar-3 { background: var(--grad-3); }

.client-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}
.client-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.popular-testimonial {
    border-color: rgba(99, 102, 241, 0.25);
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent);
}

/* 9. Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
}
.pricing-card {
    padding: 3rem 2.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
}
.popular-pricing {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.08);
}
.popular-ribbon {
    position: absolute;
    top: 15px;
    right: 20px;
    background: var(--primary-grad);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}
.pricing-header {
    margin-bottom: 2rem;
}
.tier-name {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.price-value {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.75rem;
}
.price-value .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}
.price-value .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
}
.price-value .period {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.price-value.font-large {
    margin: 1.15rem 0;
}
.custom-tier {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--secondary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tier-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.tier-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}
.tier-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.bold-text {
    font-weight: 600;
    color: var(--text-primary);
}
.check-icon {
    color: #10b981;
    flex-shrink: 0;
}
.pricing-btn {
    width: 100%;
}

/* 10. Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
    align-items: center;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}
.contact-detail-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}
.detail-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-accent);
}
.detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}
.detail-text {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.contact-form-panel {
    padding: 3rem 2.5rem;
}
.form-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.input-group {
    position: relative;
    margin-bottom: 1.8rem;
}
.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 0.75rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}
.input-group textarea {
    resize: none;
}
.input-group label {
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    pointer-events: none;
    transition: var(--transition-fast);
}
.input-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
/* Focus & Value floating states */
.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label {
    top: -12px;
    font-size: 0.75rem;
    color: var(--primary-accent);
}
.input-group select:focus ~ .select-label,
.input-group select:valid ~ .select-label {
    top: -12px;
    font-size: 0.75rem;
    color: var(--primary-accent);
}
.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--primary-grad);
    transition: width var(--transition-normal);
}
.input-group input:focus ~ .input-line,
.input-group textarea:focus ~ .input-line,
.input-group select:focus ~ .input-line {
    width: 100%;
}
.btn-submit {
    width: 100%;
    border: none;
    outline: none;
}

/* Form success alert */
.alert-box {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    animation: slideInDown 0.4s ease forwards;
}
.success-alert {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.alert-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
}
.success-alert h5 {
    color: #10b981;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}
.success-alert p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

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

/* 11. Footer Section */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(3, 7, 18, 0.4);
    padding: 5rem 0 2rem 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.brand-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.social-links {
    display: flex;
    gap: 0.85rem;
}
.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}
.social-links a:hover {
    background: var(--primary-grad);
    color: var(--text-primary);
    border-color: transparent;
    transform: translateY(-2px);
}
.footer-title {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.85rem;
}
.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 3px;
}
.footer-newsletter p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}
.newsletter-form {
    display: flex;
    position: relative;
}
.newsletter-form input {
    flex-grow: 1;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
}
.newsletter-form input:focus {
    border-color: rgba(99, 102, 241, 0.4);
}
.newsletter-form button {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--primary-grad);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}
.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.bottom-links {
    display: flex;
    gap: 1.5rem;
}

/* 12. Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary-accent);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-normal);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--primary-grad);
    color: var(--text-primary);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
}

/* 13. JS Reveal Triggers and Initial Fade-ups */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
}
.fade-up-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.1, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* Responsive Breakpoints */

/* Desktop & Large Screen Optimizations */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    .hero-title {
        font-size: 3.2rem;
    }
}

/* Tablet Layouts */
@media (max-width: 991px) {
    section {
        padding: 5rem 0;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    .about-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .about-image-wrapper {
        max-width: 550px;
        margin: 0 auto;
    }
    .why-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .why-visual-panel {
        order: -1;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 3rem;
    }
    .footer-newsletter {
        grid-column: span 3;
    }
}

/* Mobile & Hamburger Navigation */
@media (max-width: 767px) {
    .hero-section {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .section-title {
        font-size: 2rem;
    }
    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .hamburger {
        display: block;
        z-index: 1001;
    }
    .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);
    }
    
    .nav-menu {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        background: #030712;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform var(--transition-normal);
        z-index: 1000;
    }
    .nav-menu.active {
        transform: translateX(0);
    }
    .nav-link {
        font-size: 1.15rem;
    }
    .nav-cta {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-newsletter {
        grid-column: span 1;
    }
    .footer-bottom-flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
