:root {
    --bg-color: #0d0f12;
    --text-color: #f0f4f8;
    --text-muted: #a0aec0;
    --accent: #00f2fe;
    --accent-secondary: #4facfe;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover: rgba(255, 255, 255, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    scroll-behavior: smooth;
}

h1, h2, h3, p {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.show {
    opacity: 1;
    transform: translateY(0);
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}

.glow-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--accent); }
.glow-2 { top: 40%; right: -10%; width: 40vw; height: 40vw; background: var(--accent-secondary); }
.glow-3 { bottom: -10%; left: 20%; width: 60vw; height: 60vw; background: #00f2fe33; }

header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(13, 15, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--accent); }
.nav-btn { padding: 0.5rem 1.5rem !important; margin-left: 1rem !important; }

.nav-phone {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-phone a {
    display: flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.nav-phone a:hover { color: var(--accent); }

.phone-icon {
    display: none;
    width: 24px;
    height: 24px;
    stroke: var(--accent);
}

h1 {
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    max-width: 900px;
}

h1 span {
    background: linear-gradient(to right, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.header-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent));
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: rgba(0, 242, 254, 0.1);
    box-shadow: none;
}

section { padding: 8rem 5%; position: relative; }
.container { max-width: 1200px; margin: 0 auto; }

.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    background: var(--card-hover);
}

.card h3 { font-size: 1.4rem; color: #fff; }
.card p { color: var(--text-muted); font-size: 1rem; font-weight: 300; }

.contact-wrap {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 4rem;
    backdrop-filter: blur(12px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-desc { color: var(--text-muted); margin: 1.5rem 0 3rem; }
.contact-item { margin-bottom: 1rem; }
.contact-item a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
.contact-item a:hover { color: var(--accent-secondary); }

.form-group { margin-bottom: 1.5rem; }
input, textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
.btn-submit { width: 100%; }

.form-status {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}
.status-success { color: #4ade80; }
.status-error { color: #f87171; }

footer {
    text-align: center;
    padding: 3rem 5%;
    border-top: 1px solid var(--card-border);
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .nav-links a:not(.nav-btn) {
        display: none;
    }
}

@media (max-width: 768px) {
    .glow {
        display: none !important;
    }
    section { padding: 4rem 1rem !important; }
    header { padding: 7rem 1rem 3rem !important; }
    nav { padding: 1rem !important; }
    .nav-links { display: none; }
    h1 { font-size: 2.2rem; }
    p.subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .section-subtitle { margin-bottom: 2.5rem; font-size: 1rem; }
    .header-btns {
        flex-direction: column;
        gap: 0.8rem;
    }
    .header-btns .btn { width: 100%; }
    .card { padding: 1.5rem; border-radius: 16px; }
    .grid {
        gap: 1rem;
        grid-template-columns: 1fr;
    }
    .contact-wrap {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
        border-radius: 20px;
    }
    .contact-desc { margin: 1rem 0 2rem; }
    .phone-text {
        display: none;
    }
    .phone-icon {
        display: block;
        width: 28px;
        height: 28px;
    }
}