/* ----------------------------------------------------
   HYKA SOLUTIONS - MODERN PREMIUM STYLESHEET
   ---------------------------------------------------- */

/* --- Custom Variables & Theme Tokens --- */
:root {
    --bg-primary: #07080c;
    --bg-secondary: #0c0d15;
    --bg-darker: #050609;
    --bg-glass: rgba(13, 15, 25, 0.65);
    --border-glass: rgba(255, 255, 255, 0.07);
    --border-glass-glow: rgba(0, 242, 254, 0.3);
    
    --text-primary: #f1f3fa;
    --text-secondary: #a0a5c0;
    --text-muted: #6b708d;
    
    --accent-cyan: #00f2fe;
    --accent-cyan-rgb: 0, 242, 254;
    --accent-purple: #9b51e0;
    --accent-purple-rgb: 155, 81, 224;
    --accent-pink: #f43f5e;
    --accent-pink-rgb: 244, 63, 94;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --glow-shadow-cyan: 0 0 25px rgba(0, 242, 254, 0.25);
    --glow-shadow-purple: 0 0 25px rgba(155, 81, 224, 0.25);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease-out;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: var(--bg-primary);
    scrollbar-width: thin;
    scrollbar-color: var(--accent-purple) var(--bg-primary);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* --- Custom Scrollbar --- */
body::-webkit-scrollbar {
    width: 8px;
}
body::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
body::-webkit-scrollbar-thumb {
    background: rgba(155, 81, 224, 0.3);
    border-radius: 4px;
}
body::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple);
    box-shadow: 0 0 10px var(--accent-purple);
}

/* --- Container & Layout Helpers --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 120px 0;
}

.bg-darker-section {
    background-color: var(--bg-darker);
    position: relative;
}

/* --- Particles Canvas --- */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 50%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.glow-purple {
    background: rgba(155, 81, 224, 0.1);
    border: 1px solid rgba(155, 81, 224, 0.3);
    color: #c084fc;
    box-shadow: 0 0 15px rgba(155, 81, 224, 0.15);
}

.glow-cyan {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: #22d3ee;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.25);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.btn-primary:hover {
    color: #fff;
    box-shadow: 0 6px 25px rgba(155, 81, 224, 0.4);
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary * {
    position: relative;
    z-index: 2;
}

.btn-primary span {
    position: relative;
    z-index: 2;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-full-width {
    width: 100%;
}

/* --- Glassmorphism Card Style --- */
.glassmorphic {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

/* --- Header Section --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 100;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(7, 8, 12, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    height: 70px;
    background: rgba(7, 8, 12, 0.9);
    border-bottom: 1px solid rgba(155, 81, 224, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--accent-cyan);
    margin-right: 4px;
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-quick);
    position: relative;
    padding: 8px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transition: var(--transition-quick);
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 580px;
}

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

.hero-stats-mini {
    display: flex;
    align-items: center;
    gap: 24px;
}

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

.stat-mini-num {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-cyan);
}

.stat-mini-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-mini-divider {
    width: 1px;
    height: 36px;
    background-color: var(--border-glass);
}

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

.visual-wrapper {
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 2;
    transform: perspective(1000px) rotateY(-8deg) rotateX(8deg);
    transition: var(--transition-smooth);
}

.visual-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    border-color: rgba(0, 242, 254, 0.2);
}

.window-header {
    background: rgba(13, 15, 25, 0.9);
    padding: 12px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.window-dot.red { background-color: #ef4444; }
.window-dot.yellow { background-color: #eab308; }
.window-dot.green { background-color: #22c55e; }

.window-title {
    font-family: var(--font-heading);
    font-size: 11px;
    color: var(--text-muted);
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.5px;
    transform: translateX(-15px);
}

.window-body {
    background: #0b0c13;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.45;
}

.orb-cyan {
    width: 300px;
    height: 300px;
    background: var(--accent-cyan);
    bottom: -50px;
    right: -50px;
}

.orb-purple {
    width: 300px;
    height: 300px;
    background: var(--accent-purple);
    top: -50px;
    left: -50px;
}

/* --- Section Headers --- */
.section-header {
    max-width: 650px;
    margin-bottom: 72px;
}

.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

/* --- Services Grid & Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    z-index: 1;
    position: relative;
}

.service-card {
    padding: 40px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.03), transparent 70%);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glass-glow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 242, 254, 0.1);
}

.service-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
}

.service-icon-box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    filter: blur(10px);
    opacity: 0.5;
    z-index: 0;
}

.cyan-glow {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--accent-cyan);
}
.cyan-glow::before { background-color: var(--accent-cyan); }

.purple-glow {
    background: rgba(155, 81, 224, 0.1);
    border: 1px solid rgba(155, 81, 224, 0.3);
    color: var(--accent-purple);
}
.purple-glow::before { background-color: var(--accent-purple); }

.pink-glow {
    background: rgba(244, 63, 94, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: var(--accent-pink);
}
.pink-glow::before { background-color: var(--accent-pink); }

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

.service-card-title {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-card-desc {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.bullet {
    font-size: 8px;
    margin-right: 10px;
}

.bullet.cyan { color: var(--accent-cyan); }
.bullet.purple { color: var(--accent-purple); }
.bullet.pink { color: var(--accent-pink); }

/* --- About Section --- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.principles-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.principle-item {
    display: flex;
    gap: 20px;
}

.principle-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
    position: relative;
}

.principle-bullet::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1px solid currentColor;
    opacity: 0.5;
}

.purple-bg { background-color: var(--accent-purple); color: var(--accent-purple); }
.cyan-bg { background-color: var(--accent-cyan); color: var(--accent-cyan); }
.pink-bg { background-color: var(--accent-pink); color: var(--accent-pink); }

.principle-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.principle-desc {
    font-size: 14px;
    color: var(--text-muted);
}

.about-stats {
    width: 100%;
}

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

.stat-card {
    padding: 36px 24px;
    text-align: center;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(155, 81, 224, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(155, 81, 224, 0.05);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(36px, 4.5vw, 48px);
    font-weight: 800;
    color: var(--text-primary);
}

.stat-decimal, .stat-plus {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    color: var(--accent-purple);
}

.stat-label {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* --- Contact Section --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    margin-top: 40px;
}

.detail-card {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 12px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.info-icon {
    width: 22px;
    height: 22px;
}

.detail-title {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-link, .detail-value {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-quick);
}

.detail-link:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.contact-form-wrapper {
    width: 100%;
}

.form-card {
    padding: 48px;
    border-radius: 20px;
    position: relative;
}

.form-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.form-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 36px;
}

/* --- Interactive Input Fields --- */
.input-group {
    position: relative;
    margin-bottom: 30px;
    width: 100%;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-size: 16px;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition-quick);
}

.input-group textarea {
    resize: none;
}

.input-group label {
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--text-secondary);
    pointer-events: none;
    transition: 0.3s ease all;
    font-size: 15px;
}

/* Float Label Up State */
.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: 12px;
    color: var(--accent-cyan);
}

/* For Select option */
.input-group select:focus ~ label,
.input-group select:valid ~ label {
    top: -12px;
    font-size: 12px;
    color: var(--accent-cyan);
}

.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transition: 0.3s ease all;
}

.input-group input:focus ~ .input-focus-line,
.input-group textarea:focus ~ .input-focus-line,
.input-group select:focus ~ .input-focus-line {
    width: 100%;
    left: 0;
}

/* Select specific overrides */
.input-group select {
    cursor: pointer;
    appearance: none;
    -webkit-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'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0px top 12px;
}

.input-group select option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding: 12px;
}

/* Validation Style */
.input-group.invalid input,
.input-group.invalid textarea,
.input-group.invalid select {
    border-bottom-color: var(--accent-pink);
}

.input-group.invalid label {
    color: var(--accent-pink) !important;
}

.error-msg {
    position: absolute;
    bottom: -18px;
    left: 0;
    font-size: 11px;
    color: var(--accent-pink);
    opacity: 0;
    transform: translateY(-5px);
    transition: 0.2s ease all;
    pointer-events: none;
}

.input-group.invalid .error-msg {
    opacity: 1;
    transform: translateY(0);
}

/* Submit Button Loading state */
#form-submit-btn {
    position: relative;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    position: absolute;
}

.spinner.hide { display: none; }
.btn-text.hide { opacity: 0; }

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

/* --- Main Footer --- */
.main-footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-glass);
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 60px;
}

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

.footer-logo {
    font-size: 26px;
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 320px;
}

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

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-link:hover {
    color: var(--bg-primary);
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-color: transparent;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    transform: translateY(-3px);
}

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

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-quick);
}

.footer-links a:hover {
    color: var(--accent-cyan);
    padding-left: 4px;
}

.contact-info-links li {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-item .icon {
    font-size: 16px;
}

.footer-contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
}
.footer-contact-item a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 13px;
    color: var(--text-muted);
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-legal-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-quick);
}

.footer-legal-link:hover {
    color: var(--accent-cyan);
}

.divider {
    color: rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

/* --- Success Notification Popup --- */
.success-notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 8, 12, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 1;
    transition: var(--transition-smooth);
}

.success-notification-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

.success-card {
    max-width: 440px;
    width: 100%;
    padding: 40px;
    text-align: center;
    border-radius: 20px;
    border-color: rgba(0, 242, 254, 0.2);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(0, 242, 254, 0.1);
    transform: scale(1);
    transition: var(--transition-smooth);
}

.success-notification-overlay.hide .success-card {
    transform: scale(0.9);
}

.success-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(0, 242, 254, 0.1);
    border: 2px solid var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    margin: 0 auto 24px auto;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.success-check {
    width: 28px;
    height: 28px;
}

.success-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.success-message {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* --- Dynamic Router Overlay Panes (Privacy & Terms) --- */
.dynamic-overlay-pane {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: 500;
    overflow-y: auto;
    padding: 120px 0 60px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.dynamic-overlay-pane.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.overlay-content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px;
    border-radius: 24px;
    position: relative;
    border-color: rgba(255, 255, 255, 0.05);
}

.overlay-close-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 10px 18px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 13px;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: var(--transition-quick);
}

.overlay-close-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.close-icon {
    width: 16px;
    height: 16px;
}

.overlay-title {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 800;
    margin-top: 12px;
    margin-bottom: 8px;
}

.overlay-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.overlay-body h3 {
    font-size: 20px;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.overlay-body p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.overlay-body ul {
    margin-bottom: 24px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.overlay-body li {
    font-size: 15px;
    color: var(--text-secondary);
}

.overlay-body a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition-quick);
}

.overlay-body a:hover {
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.routed-content.hide {
    display: none;
}

/* --- Scroll Animation Triggers --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero elements standard entrance animation */
.fade-up-init {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-visual.fade-up-init {
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ----------------------------------------------------
   RESPONSIVE MEDIA QUERIES (GRID & VIEWPORT BREAKPOINTS)
   ---------------------------------------------------- */

@media (max-width: 1024px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats-mini {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 440px;
        margin: 0 auto;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Mobile Menu Navigation bar toggling trigger style */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(7, 8, 12, 0.96);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-glass);
        padding: 100px 40px 40px 40px;
        transition: var(--transition-smooth);
        z-index: 100;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav-menu.mobile-active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 32px;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .btn-header {
        display: none; /* Hide Start project button on mobile header, keep inside menu or section */
    }
    
    /* Hamburger Menu Animation when clicked */
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .overlay-content-container {
        padding: 40px 24px;
    }
    
    .overlay-close-btn {
        top: 24px;
        right: 24px;
        padding: 8px 14px;
    }
    
    .form-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
