@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;700&display=swap');

/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
    /* Color Palette */
    --bg-primary: #060913;
    --bg-secondary: #0c1020;
    --bg-glass: rgba(12, 16, 32, 0.6);
    --border-glass: rgba(255, 255, 255, 0.07);
    --border-glass-hover: rgba(255, 255, 255, 0.15);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --primary: #00f2fe;
    --primary-glow: rgba(0, 242, 254, 0.4);
    --secondary: #7f00ff;
    --secondary-glow: rgba(127, 0, 255, 0.4);
    
    --accent: #ff007f;
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.3);
    --error: #ef4444;
    --error-glow: rgba(239, 68, 68, 0.3);
    
    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* --- DECORATIVE BACKGROUNDS --- */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    z-index: -2;
    animation: gridMovement 60s linear infinite;
    pointer-events: none;
}

.blur-orb-1, .blur-orb-2, .blur-orb-3 {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
    mix-blend-mode: screen;
}
.blur-orb-1 {
    top: -10%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    animation: floatingOrb 15s ease-in-out infinite alternate;
}
.blur-orb-2 {
    bottom: -10%;
    left: -10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    animation: floatingOrb 20s ease-in-out infinite alternate-reverse;
}
.blur-orb-3 {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.15) 0%, transparent 70%);
    animation: floatingOrb 25s ease-in-out infinite alternate;
}

/* --- REUSABLE UTILITIES & LAYOUTS --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 2rem;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-primary);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.2);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 242, 254, 0.4), 0 0 15px rgba(127, 0, 255, 0.4);
    color: #ffffff;
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.1);
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.05);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 30%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 650px;
    margin-bottom: 3.5rem;
}

/* Glass Card Pattern */
.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
}
.glass-card:hover {
    border-color: var(--border-glass-hover);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* --- HEADER & NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-normal);
    padding: 1.5rem 0;
}

header.scrolled {
    background: rgba(6, 9, 19, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.8rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    color: #fff;
}
.logo span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo svg {
    width: 32px;
    height: 32px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}
.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}
.nav-link:hover {
    color: #fff;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-fast);
}
.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: var(--transition-fast);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 10;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.hero-title span.glow {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-title span.glow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background: var(--primary);
    filter: blur(40px);
    opacity: 0.3;
    z-index: -1;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 4rem;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Floating interactive device structure in Hero */
.interactive-scene {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sphere-core {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--primary), var(--secondary));
    box-shadow: 0 0 60px rgba(0, 242, 254, 0.4), inset -10px -10px 30px rgba(0,0,0,0.5);
    animation: floatAnimation 8s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.sphere-ring-1, .sphere-ring-2 {
    position: absolute;
    border: 2px dashed rgba(0, 242, 254, 0.3);
    border-radius: 50%;
    animation: spinRing 20s linear infinite;
}
.sphere-ring-1 {
    width: 320px;
    height: 320px;
}
.sphere-ring-2 {
    width: 380px;
    height: 380px;
    border: 1px solid rgba(127, 0, 255, 0.2);
    animation: spinRing 25s linear infinite reverse;
}

.floating-card {
    position: absolute;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: cardFloat 6s ease-in-out infinite;
}

.fc-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.fc-2 {
    bottom: 15%;
    left: -10%;
    animation-delay: 2s;
}

.fc-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 242, 254, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.fc-text h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
}
.fc-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- SERVICES SECTION --- */
.services {
    padding: 100px 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.service-card {
    position: relative;
    padding: 3.5rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    perspective: 1000px;
}

.service-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(255,255,255,0.06), transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.service-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    opacity: 0.4;
    transition: var(--transition-normal);
}
.service-card:hover .service-card-accent {
    opacity: 1;
    height: 100%;
}

.service-header {
    margin-bottom: 2rem;
    z-index: 2;
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(127, 0, 255, 0.1));
    border: 1px solid rgba(0, 242, 254, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
    transition: var(--transition-normal);
}
.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2.5rem;
    z-index: 2;
}
.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}
.service-features li svg {
    color: var(--primary);
    flex-shrink: 0;
}

.service-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--primary);
    transition: var(--transition-fast);
    text-decoration: none;
    z-index: 2;
}
.service-card:hover .service-footer {
    color: #fff;
    gap: 0.8rem;
}

/* --- PRICING SECTION --- */
.pricing {
    padding: 100px 0;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
    margin-top: 2rem;
}

.pricing-card {
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* Featured / Popular plan styling */
.pricing-card.featured {
    border-color: rgba(0, 242, 254, 0.35);
    box-shadow: 0 15px 40px rgba(0, 242, 254, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(12, 16, 32, 0.8) 0%, rgba(6, 9, 19, 0.9) 100%);
    transform: scale(1.03);
    z-index: 5;
}

.pricing-card.featured:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0, 242, 254, 0.15);
}

.popular-tag {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    letter-spacing: 1px;
}

.pricing-header {
    margin-bottom: 2.5rem;
}

.plan-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.pricing-card.featured .plan-badge {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.2);
    color: var(--primary);
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.plan-price .currency {
    font-size: 1.8rem;
    color: var(--primary);
}

.plan-price .period {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 400;
}

.plan-price .price-custom {
    font-size: 2.4rem;
    background: linear-gradient(135deg, #fff 30%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.5rem;
}

.plan-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.plan-features {
    list-style: none;
    margin-bottom: 3rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.feature-check {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.pricing-card.featured .feature-check {
    color: var(--primary);
    filter: drop-shadow(0 0 4px var(--primary-glow));
}

.plan-btn {
    width: 100%;
}

/* --- MAILBOX DEPARTMENTS SECTION --- */
.mailboxes {
    padding: 100px 0;
    position: relative;
}

.mailboxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.mail-card {
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.mail-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.05), rgba(127, 0, 255, 0.05));
    opacity: 0;
    transition: var(--transition-normal);
}
.mail-card:hover::before {
    opacity: 1;
}

.mail-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--secondary);
    transition: var(--transition-normal);
}
.mail-card:hover .mail-icon {
    color: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.mail-dept {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.mail-address {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    word-break: break-all;
    transition: var(--transition-fast);
}
.mail-card:hover .mail-address {
    color: #fff;
}

.copy-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    transition: var(--transition-fast);
}
.mail-card:hover .copy-badge {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.3);
    color: var(--primary);
}

.team-group-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    padding-left: 1.2rem;
}
.team-group-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 2px;
}

.team-card {
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.03), rgba(127, 0, 255, 0.03));
    opacity: 0;
    transition: var(--transition-normal);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glass-hover);
}

.team-card:hover::before {
    opacity: 1;
}

.team-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--secondary);
    transition: var(--transition-normal);
}

.team-card:hover .team-icon {
    color: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.team-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.team-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    display: inline-block;
    transition: var(--transition-fast);
}

.team-card:hover .team-role {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.3);
    color: var(--primary);
}

/* --- CONTACT SECTION --- */
.contact {
    padding: 100px 0 150px;
    position: relative;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.25rem;
}
.contact-item-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-card {
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.8rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.8rem;
}
.form-group.full-width {
    margin-bottom: 2.2rem;
}

.form-input {
    width: 100%;
    padding: 1.1rem 1.2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.form-input:focus {
    background: rgba(255,255,255,0.04);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

textarea.form-input {
    min-height: 140px;
    resize: vertical;
}

select.form-input {
    cursor: pointer;
}

select.form-input option {
    background-color: #0d1224; /* matches the dark glass card backdrop */
    color: var(--text-primary);
}

select.form-input option[disabled] {
    color: var(--text-muted);
}

.form-label {
    position: absolute;
    left: 1.2rem;
    top: 1.1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-normal);
}

/* Float logic */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
select.form-input:valid ~ .form-label {
    top: -0.7rem;
    left: 0.8rem;
    font-size: 0.75rem;
    padding: 0 0.5rem;
    background: #0d1224; /* match the card background to hide border line */
    color: var(--primary);
    border-radius: 4px;
}

.btn-submit {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.05rem;
    border-radius: 12px;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* --- FOOTER --- */
footer {
    border-top: 1px solid var(--border-glass);
    background: #03050b;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-nav {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}
.footer-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}
.footer-nav a:hover {
    color: var(--primary);
}

.footer-copy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.toast {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.8rem;
    border-radius: 12px;
    background: rgba(12, 16, 32, 0.9);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-normal);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    border-color: var(--success);
    box-shadow: 0 5px 20px var(--success-glow);
}
.toast-success svg {
    color: var(--success);
}

.toast-error {
    border-color: var(--error);
    box-shadow: 0 5px 20px var(--error-glow);
}
.toast-error svg {
    color: var(--error);
}

/* --- ANIMATION KEYFRAMES --- */
@keyframes gridMovement {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 500px;
    }
}

@keyframes floatingOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(5%, 5%) scale(1.1);
    }
    100% {
        transform: translate(-5%, -5%) scale(0.9);
    }
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(2deg);
    }
}

@keyframes spinRing {
    0% {
        transform: rotate(0deg) rotateX(70deg);
    }
    100% {
        transform: rotate(360deg) rotateX(70deg);
    }
}

/* Reveal classes for JavaScript Interaction */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-visual {
        order: -1;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(6, 9, 19, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition-normal);
        border-left: 1px solid var(--border-glass);
    }
    .nav-menu.active {
        right: 0;
    }
    .menu-toggle {
        display: block;
        z-index: 200;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    .contact-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-desc {
        font-size: 1rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.8rem;
        align-items: center;
    }
    .pricing-card {
        padding: 2.5rem 1.5rem;
    }
    .contact-card {
        padding: 1.5rem 1rem;
    }
    .container {
        width: 95%;
        padding: 0 0.5rem;
    }
}
