/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
    /* Colors */
    --accent-color: #78f0d5;
    --accent-color-rgb: 120, 240, 213;
    --accent-glow-opacity: 0.18;
    
    --bg-canvas: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.82);
    --bg-card-hover: rgba(255, 255, 255, 0.92);
    --bg-badge: #ffffff;
    
    --text-heading: #0f172a;
    --text-main: #475569;
    --text-muted: #64748b;
    
    --border-color: rgba(15, 23, 42, 0.05);
    --border-hover: rgba(120, 240, 213, 0.4);
    --border-solid-accent: #78f0d5;
    
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
    --shadow-accent: 0 12px 30px -10px rgba(120, 240, 213, 0.35);
    
    /* Fonts */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-canvas);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* --- INTERACTIVE BACKGROUND --- */
.dot-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1.2px, transparent 1.2px);
    background-size: 28px 28px;
    z-index: 1;
    pointer-events: none;
}

.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 2;
    opacity: 0.55;
    mix-blend-mode: multiply;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 45vw;
    height: 45vw;
    background-color: rgba(120, 240, 213, 0.16);
    animation: pulseGlow 12s ease-in-out infinite alternate;
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    width: 45vw;
    height: 45vw;
    background-color: rgba(120, 240, 213, 0.12);
    animation: pulseGlow 15s ease-in-out infinite alternate-reverse;
}

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(120, 240, 213, var(--accent-glow-opacity)) 0%, rgba(120, 240, 213, 0) 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

body:hover .cursor-glow {
    opacity: 1;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(30px, -20px); }
}

/* --- APP CONTAINER --- */
.app-container {
    width: 100%;
    max-width: 1100px;
    padding: 2.5rem 1.5rem;
    z-index: 10;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

/* --- HEADER --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.header-badge {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #10b981;
    animation: blink 2s infinite;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-heading);
    letter-spacing: -0.01em;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header-meta i {
    color: #10b981;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* --- MAIN CARD --- */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    flex-grow: 1;
    justify-content: center;
}

.card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.8;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), 0 10px 40px -10px rgba(120, 240, 213, 0.15);
}

.card-hero {
    padding: 3.5rem 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-wrapper {
    background-color: var(--bg-badge);
    border: 1px solid rgba(15, 23, 42, 0.05);
    padding: 0.85rem 1.75rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    max-width: 300px;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.brand-wrapper:hover {
    transform: scale(1.03);
}

.brand-logo {
    width: 100%;
    height: auto;
    /* max-height: 42px; */
}

.client-badge {
    background: rgba(120, 240, 213, 0.15);
    color: #0f766e;
    border: 1px solid rgba(120, 240, 213, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.5rem;
}

.client-badge i {
    font-size: 0.85rem;
}

.main-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-heading);
    max-width: 780px;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.domain-pill {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.65rem 1.25rem;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-heading);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.75rem;
    transition: all 0.3s ease;
}

.domain-pill i {
    color: var(--accent-color);
    filter: drop-shadow(0 2px 4px rgba(120, 240, 213, 0.4));
}

.domain-pill:hover {
    border-color: var(--accent-color);
    transform: scale(1.02);
}

.domain-status {
    background: #f1f5f9;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

.description-text {
    font-size: 1.1rem;
    color: var(--text-main);
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* --- BUTTONS --- */
.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    width: 100%;
}

.btn {
    font-family: var(--font-body);
    padding: 0.95rem 1.85rem;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #064e3b;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px rgba(120, 240, 213, 0.55);
    background-color: #6ee7cb;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--text-heading);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background-color: #fafafa;
    border-color: rgba(15, 23, 42, 0.15);
    box-shadow: var(--shadow-md);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* --- SERVICES GRID --- */
.services-section {
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2.25rem;
}

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

.service-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.25rem 2rem;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), 0 8px 30px -10px rgba(120, 240, 213, 0.12);
}

.service-icon-wrapper {
    width: 52px;
    height: 52px;
    background: rgba(120, 240, 213, 0.12);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    background: var(--accent-color);
    transform: scale(1.05) rotate(3deg);
}

.service-icon-wrapper i {
    font-size: 1.35rem;
    color: #0f766e;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper i {
    color: #064e3b;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-heading);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.55;
}

/* --- FOOTER --- */
.main-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 3.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--text-heading);
}

.separator {
    color: rgba(15, 23, 42, 0.15);
    font-size: 0.8rem;
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.copyright a {
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.copyright a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.25s ease;
    transform-origin: bottom right;
}

.copyright a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


/* --- TRANSITIONS & ANIMATIONS --- */
.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-slide-up-delay {
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* --- RESPONSIVENESS --- */
@media (max-width: 992px) {
    .app-container {
        padding: 2rem 1.25rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .main-title {
        font-size: 2.15rem;
    }
    
    .card-hero {
        padding: 2.75rem 1.75rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .service-card {
        padding: 2rem 1.75rem;
    }
    
    .main-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        margin-bottom: 2rem;
    }
    
    .header-right {
        align-self: flex-end;
    }
    

}

@media (max-width: 480px) {
    .cta-group {
        flex-direction: column;
        gap: 0.85rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .domain-pill {
        width: 100%;
        justify-content: center;
    }
}
