/* ========================================
   ICE-F APPLICATION - FROSTED ARCTIC UI
   Design: Premium, High-Tech, Glassmorphism
   ======================================== */

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

:root {
    --bg-deep: #030812;
    --bg-surface: #0a1120;
    --primary: #00f2ff;
    --primary-glow: rgba(0, 242, 255, 0.4);
    --secondary: #0066ff;
    --accent: #7000ff;
    --text-main: #ffffff;
    --text-sub: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --shadow-glow: 0 0 20px rgba(0, 242, 255, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Background Atmosphere */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 0% 0%, rgba(0, 102, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(112, 0, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 242, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography Gradient */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(3, 8, 18, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    transition: var(--transition);
}

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

.brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -1px;
}

.brand i {
    color: var(--primary);
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.brand span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-sub);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-cta)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:not(.btn-cta):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #000;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.2);
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 242, 255, 0.4);
    filter: brightness(1.1);
}

/* Hero Section */
.hero {
    padding: 220px 0 120px;
    text-align: center;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.2);
    color: var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -3px;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-sub);
    max-width: 750px;
    margin: 0 auto 3.5rem;
    font-weight: 400;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-secondary {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: var(--text-main);
    padding: 0.8rem 2.2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

/* Services / Grid */
.services-section {
    padding: 120px 0;
    background: rgba(0, 0, 0, 0.2);
}

.section-head {
    text-align: center;
    margin-bottom: 6rem;
}

.section-head h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.card {
    background: var(--glass);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 242, 255, 0.05), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 242, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 242, 255, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 242, 255, 0.2);
    transition: var(--transition);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary);
    color: #000;
}

.card h3 {
    margin-bottom: 1.2rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.card p {
    color: var(--text-sub);
    font-size: 1rem;
    line-height: 1.7;
}

/* Contact Form Specific Styles */
.form-container {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    backdrop-filter: blur(20px);
    padding: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

input, textarea {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--glass-border) !important;
    color: white !important;
    transition: var(--transition) !important;
}

input:focus, textarea:focus {
    border-color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

/* Footer */
footer {
    padding: 100px 0 60px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.3);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.footer-inner .nav-links a {
    font-size: 1.1rem;
}

.footer-copy {
    color: var(--text-sub);
    font-size: 0.95rem;
    text-align: center;
    padding-top: 50px;
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 1100px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 4.5rem; }
}

@media (max-width: 768px) {
    .grid-3 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3.2rem; }
    .nav-links { display: none; }
    .footer-inner { flex-direction: column; gap: 2rem; }
    .hero-btns { flex-direction: column; }
}

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

.float { animation: float 6s ease-in-out infinite; }