/* ===== VARIABLES ===== */
:root {
    --purple-dark: #2D2B6B;
    --purple-deep: #1E1C4E;
    --purple-medium: #3A3880;
    --cyan: #00D4C8;
    --cyan-light: #00E8DC;
    --cyan-blue: #00B4D8;
    --cyan-glow: rgba(0, 212, 200, 0.3);
    --white: #FFFFFF;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-50: rgba(255, 255, 255, 0.5);
    --white-20: rgba(255, 255, 255, 0.2);
    --white-10: rgba(255, 255, 255, 0.1);
    --white-05: rgba(255, 255, 255, 0.05);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    --radius: 16px;
    --radius-sm: 8px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--purple-deep);
    color: var(--white-90);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

.header.scrolled {
    background: rgba(30, 28, 78, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

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

.nav__logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 0;
}

.nav__logo-img {
    height: 36px;
    width: auto;
}

.logo-digitech { color: var(--white); }
.logo-time { color: var(--cyan); }
.logo-r {
    color: var(--cyan);
    font-size: 0.7em;
    vertical-align: super;
}

.nav__list {
    display: flex;
    gap: 8px;
}

.nav__link {
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white-70);
    transition: var(--transition);
    position: relative;
}

.nav__link:hover,
.nav__link.active {
    color: var(--white);
    background: var(--white-10);
}

.nav__toggle,
.nav__close {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 4px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-blue));
    color: var(--purple-deep);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--cyan-glow);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white-20);
}

.btn--outline:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.btn--lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--white-10);
    border: 1px solid var(--white-20);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--cyan);
    margin-bottom: 24px;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
}

.hero__description {
    font-size: 1.15rem;
    color: var(--white-70);
    margin-bottom: 36px;
    max-width: 500px;
    line-height: 1.7;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__graphic {
    position: relative;
    width: 420px;
    height: 420px;
}

.hero__shape {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero__shape--1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 212, 200, 0.15), rgba(0, 180, 216, 0.1));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.hero__shape--2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.12), rgba(0, 212, 200, 0.08));
    top: 10%;
    right: 10%;
    animation-delay: -2s;
}

.hero__shape--3 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(0, 212, 200, 0.2), rgba(0, 180, 216, 0.15));
    bottom: 15%;
    left: 15%;
    animation-delay: -4s;
}

.hero__code {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(30, 28, 78, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid var(--white-10);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: pulse-glow 4s ease-in-out infinite;
}

.code-line {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    white-space: nowrap;
}

.code-line.indent { padding-left: 24px; }
.code-tag { color: var(--cyan); }
.code-prop { color: var(--white-70); }
.code-val { color: var(--cyan-light); }

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--white-50);
    transition: var(--transition);
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator:hover { color: var(--cyan); }

/* ===== SECTIONS COMMON ===== */
.section__header {
    text-align: center;
    margin-bottom: 64px;
}

.section__tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.section__subtitle {
    font-size: 1.1rem;
    color: var(--white-50);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SERVICES ===== */
.services {
    padding: 120px 0;
    position: relative;
}

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

.service-card {
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: var(--radius);
    padding: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--cyan-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--white-20);
    background: var(--white-10);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 200, 0.15), rgba(0, 180, 216, 0.1));
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--cyan);
}

.service-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.service-card__desc {
    font-size: 0.9rem;
    color: var(--white-50);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.service-card__tags li {
    padding: 4px 12px;
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--white-50);
}

/* ===== ABOUT ===== */
.about {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, rgba(0, 212, 200, 0.03), transparent);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__text {
    font-size: 1.05rem;
    color: var(--white-70);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about__stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--cyan);
    display: inline;
}

.stat__plus {
    font-size: 2rem;
    font-weight: 700;
    color: var(--cyan);
}

.stat__label {
    display: block;
    font-size: 0.85rem;
    color: var(--white-50);
    margin-top: 4px;
}

/* About Visual */
.about__visual {
    display: flex;
    justify-content: center;
}

.about__image-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
}

.about__pattern {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 200, 0.1), rgba(0, 180, 216, 0.05));
    border-radius: var(--radius);
    border: 1px solid var(--white-10);
}

.about__card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(30, 28, 78, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--white-10);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--cyan);
    font-size: 0.9rem;
    font-weight: 600;
    animation: float 5s ease-in-out infinite;
}

.about__card--1 {
    top: 20%;
    right: -30px;
    animation-delay: -1s;
}

.about__card--2 {
    bottom: 20%;
    left: -30px;
    animation-delay: -3s;
}

/* ===== PROCESS ===== */
.process {
    padding: 120px 0;
}

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

.process__step {
    text-align: center;
    padding: 40px 24px;
    position: relative;
}

.process__number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan), var(--cyan-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    opacity: 0.4;
}

.process__step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.process__step p {
    font-size: 0.9rem;
    color: var(--white-50);
    line-height: 1.6;
}

/* ===== PORTFOLIO ===== */
.portfolio {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent, rgba(0, 212, 200, 0.03), transparent);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.portfolio__item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, var(--purple-medium), var(--purple-dark));
    border: 1px solid var(--white-10);
}

.portfolio__item--large {
    grid-column: span 2;
}

.portfolio__overlay {
    position: absolute;
    inset: 0;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, transparent 30%, rgba(30, 28, 78, 0.9));
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.portfolio__item:hover .portfolio__overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio__cat {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.portfolio__overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.portfolio__overlay p {
    font-size: 0.85rem;
    color: var(--white-50);
}

/* ===== CTA ===== */
.cta {
    padding: 120px 0;
}

.cta__content {
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 212, 200, 0.08), rgba(0, 180, 216, 0.05));
    border: 1px solid var(--white-10);
    border-radius: 24px;
    padding: 80px 40px;
}

.cta__title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta__text {
    font-size: 1.1rem;
    color: var(--white-50);
    margin-bottom: 32px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 80px 0 0;
    border-top: 1px solid var(--white-10);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer__desc {
    color: var(--white-50);
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.6;
    max-width: 300px;
}

.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: 10px;
    color: var(--white-50);
    transition: var(--transition);
}

.footer__social a:hover {
    background: var(--cyan);
    color: var(--purple-deep);
    border-color: var(--cyan);
}

.footer__links h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a,
.footer__links li {
    font-size: 0.85rem;
    color: var(--white-50);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--cyan);
}

.footer__bottom {
    border-top: 1px solid var(--white-10);
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--white-50);
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 212, 200, 0.1); }
    50% { box-shadow: 0 0 50px rgba(0, 212, 200, 0.2); }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animate on scroll classes */
.animate-fade-up {
    animation: fade-up 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; opacity: 0; animation-fill-mode: forwards; }
.delay-2 { animation-delay: 0.3s; opacity: 0; animation-fill-mode: forwards; }
.delay-3 { animation-delay: 0.45s; opacity: 0; animation-fill-mode: forwards; }

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Particle styles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--cyan);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float linear infinite;
}

@keyframes particle-float {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero__description { margin: 0 auto 36px; }
    .hero__buttons { justify-content: center; }

    .hero__graphic {
        width: 300px;
        height: 300px;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about__stats { justify-content: center; }
    .about__visual { order: -1; }

    .process__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio__item--large {
        grid-column: span 1;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav__toggle { display: block; }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--purple-deep);
        border-left: 1px solid var(--white-10);
        padding: 80px 32px 32px;
        transition: right 0.4s ease;
        z-index: 1001;
    }

    .nav__menu.show {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 4px;
    }

    .nav__link {
        display: block;
        padding: 14px 20px;
        font-size: 1.05rem;
        border-radius: var(--radius-sm);
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 24px;
        right: 24px;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .process__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .about__stats {
        flex-direction: column;
        gap: 24px;
    }

    .about__image-wrapper {
        width: 280px;
        height: 280px;
    }

    .portfolio__grid {
        grid-template-columns: 1fr;
    }

    .hero__graphic {
        width: 260px;
        height: 260px;
    }

    .hero__code {
        padding: 20px;
        font-size: 0.8rem;
    }

    .cta__content {
        padding: 60px 24px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn { justify-content: center; width: 100%; }

    .hero__graphic {
        width: 220px;
        height: 220px;
    }

    .hero__shape--2 { display: none; }
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-page {
    padding: 140px 0 80px;
    min-height: 100vh;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact__info h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.contact__info > p {
    font-size: 1.05rem;
    color: var(--white-50);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact__method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: 12px;
    transition: var(--transition);
}

.contact__method:hover {
    border-color: var(--white-20);
    background: var(--white-10);
}

.contact__method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 200, 0.15), rgba(0, 180, 216, 0.1));
    border-radius: 12px;
    color: var(--cyan);
    flex-shrink: 0;
}

.contact__method-text h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.contact__method-text p {
    font-size: 0.85rem;
    color: var(--white-50);
}

.contact__social-links {
    display: flex;
    gap: 12px;
}

.contact__social-links a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: 12px;
    color: var(--white-50);
    transition: var(--transition);
}

.contact__social-links a:hover {
    background: var(--cyan);
    color: var(--purple-deep);
    border-color: var(--cyan);
}

/* Form */
.contact__form-wrapper {
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: 20px;
    padding: 40px;
}

.contact__form-wrapper h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.contact__form-wrapper > p {
    font-size: 0.9rem;
    color: var(--white-50);
    margin-bottom: 32px;
}

.form__group {
    margin-bottom: 20px;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white-70);
    margin-bottom: 8px;
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: 10px;
    color: var(--white);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--white-20);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 200, 0.1);
}

.form__select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23ffffff50' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form__select option {
    background: var(--purple-deep);
    color: var(--white);
}

.form__textarea {
    min-height: 140px;
    resize: vertical;
}

.form__submit {
    width: 100%;
    margin-top: 8px;
}

.form__success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form__success.show {
    display: block;
    animation: fade-up 0.5s ease;
}

.form__success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(0, 212, 200, 0.2), rgba(0, 180, 216, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--cyan);
}

.form__success h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.form__success p {
    color: var(--white-50);
}

@media (max-width: 768px) {
    .contact__grid {
        grid-template-columns: 1fr;
    }

    .form__row {
        grid-template-columns: 1fr;
    }

    .contact__form-wrapper {
        padding: 24px;
    }
}

/* ===== OVERLAY FOR MOBILE MENU ===== */
.nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav__overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 420px;
    width: calc(100% - 48px);
    padding: 20px 24px;
    border-radius: 14px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    animation: toast-in 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.toast.hide {
    animation: toast-out 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes toast-in {
    from {
        transform: translateX(calc(100% + 24px));
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toast-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(calc(100% + 24px));
        opacity: 0;
    }
}

.toast--success {
    background: rgba(0, 212, 200, 0.12);
    border: 1px solid rgba(0, 212, 200, 0.3);
}

.toast--error {
    background: rgba(255, 80, 80, 0.12);
    border: 1px solid rgba(255, 80, 80, 0.3);
}

.toast__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.toast--success .toast__icon {
    background: rgba(0, 212, 200, 0.15);
    color: var(--cyan);
}

.toast--error .toast__icon {
    background: rgba(255, 80, 80, 0.15);
    color: #ff5050;
}

.toast__body {
    flex: 1;
    min-width: 0;
}

.toast__title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.toast--success .toast__title { color: var(--cyan); }
.toast--error .toast__title { color: #ff5050; }

.toast__message {
    font-size: 0.85rem;
    color: var(--white-70);
    line-height: 1.5;
}

.toast__close {
    background: none;
    border: none;
    color: var(--white-50);
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
    transition: var(--transition);
}

.toast__close:hover {
    color: var(--white);
}

.toast__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 0 0 14px 14px;
    animation: toast-progress 5s linear forwards;
}

.toast--success .toast__progress { background: var(--cyan); }
.toast--error .toast__progress { background: #ff5050; }

@keyframes toast-progress {
    from { width: 100%; }
    to { width: 0%; }
}
