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

:root {
    --bg-color: #0d0f12;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-glow: rgba(139, 92, 246, 0.5);
    --accent-color: #8b5cf6;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --transition-speed: 0.4s;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Dynamic background */
.background-fx {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.15), transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.15), transparent 25%);
    animation: bgBreathe 15s ease-in-out infinite alternate;
}

@keyframes bgBreathe {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(13, 15, 18, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    transition: transform var(--transition-speed) ease, opacity var(--transition-speed) ease;
}

header.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 8px var(--accent-glow));
    transition: transform var(--transition-speed) ease;
}

.logo-container:hover .logo {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: color var(--transition-speed) ease;
}

nav a:hover, nav a.active {
    color: var(--text-primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-color);
    transition: width var(--transition-speed) ease;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

/* Main Layout */
main {
    max-width: 1000px;
    width: 100%;
    margin: 150px auto 100px;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 0 auto;
}

/* Hero Section */
.hero {
    margin-bottom: 150px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 120px;
    gap: 50px;
    text-align: left;
}

.content-section.reverse {
    flex-direction: row-reverse;
}

.content-section.services-section {
    flex-direction: column;
    align-items: center;
}

.section-text {
    flex: 1;
}

.section-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-primary);
}

.section-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
}

.section-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Services Container */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 700px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(10px);
    transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateX(10px) translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.2);
}

.service-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: left;
}

.service-arrow {
    color: var(--accent-color);
    font-size: 1.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-speed) ease;
}

.service-card:hover .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Coming soon styling */
.coming-soon {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.15);
    cursor: default;
    background: transparent;
}

.coming-soon:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.2);
}

.coming-soon .service-title {
    color: var(--text-secondary);
}

/* Contact Page */
.contact-container {
    max-width: 600px;
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards;
    margin-top: 50px;
}

.contact-email {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 30px 0;
    display: inline-block;
    padding: 15px 30px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background: rgba(139, 92, 246, 0.2);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

/* Keyframes */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
    header { padding: 15px 20px; }
    .hero h1 { font-size: 2.8rem; }
    .service-card { padding: 20px; }
    
    .content-section, .content-section.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .section-text h2 {
        justify-content: center;
    }
    
    .service-info { align-items: center; text-align: center; }
    .service-desc { text-align: center; }
}

/* Footer */
footer {
    width: 100%;
    padding: 40px 20px;
    margin-top: auto;
    border-top: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background: rgba(13, 15, 18, 0.5);
    backdrop-filter: blur(12px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1000px;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.5rem;
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}
