:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #1e293b;
    --accent-color: #3b82f6;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --text-main: #334155;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px;
    transition: var(--transition);
}

/* Buttons */
.cta-btn {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: var(--text-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: var(--transition);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4);
}

.cta-btn.sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.secondary-btn {
    display: inline-block;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-family: var(--font-heading);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    background: transparent;
}

.secondary-btn:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, #ebf8ff 0%, #ffffff 100%);
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-background {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 10s infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #60a5fa;
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #a78bfa;
    bottom: -50px;
    right: 300px;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

/* Sections */
.section {
    padding: 6rem 10%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.text-center {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.alt-section {
    background-color: #ffffff;
}

.dark-section {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.dark-section .section-title {
    color: var(--text-white);
}

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

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.about-text {
    font-size: 1.1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Development Points */
.dev-points ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.dev-points li {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.dev-points li:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.dev-points li::before {
    content: '✓';
    color: #10b981;
    font-size: 1.5rem;
    font-weight: 900;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.team-member {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
    text-align: center;
    padding: 2rem 1rem;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
}

.member-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-light);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
    border: 4px solid var(--text-white);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 0;
}

.member-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.role {
    display: block;
    color: var(--accent-color);
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--bg-light), #e0f2fe);
}

.cta-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.contact-details {
    display: flex;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    transition: var(--transition);
}

.contact-item:hover {
    transform: scale(1.05);
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 10% 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
    .hero h1 { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 80px;
        background: #ffffff;
        flex-direction: column;
        width: 100%;
        padding: 2rem;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .hamburger { display: block; }
    
    .hamburger.toggle .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .hamburger.toggle .line:nth-child(2) {
        opacity: 0;
    }
    .hamburger.toggle .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero { text-align: center; justify-content: center; padding-top: 80px; }
    .hero-background { opacity: 0.3; }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { justify-content: center; flex-direction: column; }
    .section { padding: 4rem 5%; }
}

/* Legal Pages */
.legal-header {
    padding: 150px 10% 50px;
    background: radial-gradient(circle at top left, #ebf8ff 0%, #ffffff 100%);
    text-align: center;
}

.legal-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.legal-content h2, .legal-content h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin: 2rem 0 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--text-main);
    line-height: 1.8;
}

.legal-block {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,0.02);
}

.legal-block p {
    margin-bottom: 0.5rem;
}

.legal-block a {
    color: var(--primary-color);
    text-decoration: none;
}
.legal-block a:hover {
    text-decoration: underline;
}
