:root {
    --primary: #0f172a;
    --secondary: #1e293b;
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.4);
    --bg: #f8fafc;
    --bg-alt: #f1f5f9;
    --text: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px -10px rgba(6, 182, 212, 0.2);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.bg-alt { background-color: var(--bg-alt); }

h1, h2, h3, h4 { color: var(--primary); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; color: var(--text-light); }
a { text-decoration: none; color: inherit; transition: var(--transition); }

.btn-primary, .btn-secondary {
    display: inline-block; padding: 14px 32px; border-radius: 50px;
    font-weight: 600; font-size: 1rem; cursor: pointer; transition: var(--transition); border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #0891b2);
    color: var(--white); box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px var(--accent-glow); }
.glow-btn { animation: pulse-glow 2s infinite; }
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 15px var(--accent-glow); }
    50% { box-shadow: 0 4px 30px rgba(6, 182, 212, 0.6); }
}
.btn-secondary {
    background: transparent; color: var(--primary); border: 2px solid var(--primary); margin-left: 1rem;
}
.btn-secondary:hover { background: var(--primary); color: var(--white); }
.btn-text { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.btn-text:hover { gap: 10px; }

.glass-nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border); transition: var(--transition);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.logo span { color: var(--accent); }
.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-links a:not(.btn-primary) { font-weight: 500; color: var(--text); }
.nav-links a:not(.btn-primary):hover { color: var(--accent); }
.mobile-menu-btn {
    display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer;
}
.mobile-menu-btn span {
    width: 25px; height: 3px; background: var(--primary); border-radius: 3px; transition: var(--transition);
}

.hero-section {
    position: relative; padding: 160px 0 100px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); overflow: hidden;
}
.floating-shape {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6; z-index: 0;
}
.shape-1 {
    width: 400px; height: 400px; background: var(--accent); top: -100px; right: -100px;
    animation: float 8s ease-in-out infinite;
}
.shape-2 {
    width: 300px; height: 300px; background: #818cf8; bottom: -50px; left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}
.hero-container { position: relative; z-index: 1; text-align: center; max-width: 800px; }
.hero-badge {
    display: inline-block; background: rgba(6, 182, 212, 0.1); color: var(--accent);
    padding: 8px 20px; border-radius: 50px; font-weight: 600; font-size: 0.9rem;
    margin-bottom: 1.5rem; border: 1px solid rgba(6, 182, 212, 0.2);
}
.hero-intro { font-size: 1.25rem; margin-bottom: 2rem; color: var(--text); }
.hero-stats {
    display: flex; justify-content: center; gap: 3rem; margin-top: 4rem;
    padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.1);
}
.stat-item { text-align: center; }
.stat-item .counter { font-size: 2.5rem; font-weight: 800; color: var(--accent); }
.stat-item p { font-size: 0.9rem; font-weight: 600; color: var(--text); margin: 0; }

.section-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card {
    background: var(--white); padding: 2rem; border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--glass-border);
    transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--accent), #818cf8);
    transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}
.service-card:hover { transform: translateY(-10px) rotateX(2deg); box-shadow: var(--shadow-hover); }
.service-card:hover::before { transform: scaleX(1); }
.icon-box { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-list { list-style: none; margin: 1rem 0; font-size: 0.9rem; color: var(--text-light); }
.feature-list li { margin-bottom: 0.5rem; padding-left: 1.5rem; position: relative; }
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: bold; }

.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
    content: ''; position: absolute; left: 20px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--accent), #818cf8);
}
.timeline-item { display: flex; gap: 2rem; margin-bottom: 2rem; position: relative; }
.timeline-number {
    width: 40px; height: 40px; background: var(--accent); color: var(--white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; flex-shrink: 0; z-index: 1; box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.2);
}
.timeline-content {
    background: var(--white); padding: 1.5rem; border-radius: var(--radius);
    box-shadow: var(--shadow); flex: 1; transition: var(--transition);
}
.timeline-content:hover { transform: translateX(10px); }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.portfolio-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 300px; cursor: pointer; }
.abstract-placeholder { width: 100%; height: 100%; transition: transform 0.5s ease; }
.ph-1 { background: linear-gradient(45deg, #06b6d4, #3b82f6); }
.ph-2 { background: linear-gradient(45deg, #8b5cf6, #ec4899); }
.ph-3 { background: linear-gradient(45deg, #10b981, #06b6d4); }
.abstract-placeholder::after {
    content: ''; position: absolute; top: 20%; left: 20%; width: 60%; height: 60%;
    background: rgba(255,255,255,0.2); border-radius: 50%; filter: blur(20px);
}
.portfolio-card:hover .abstract-placeholder { transform: scale(1.1); }
.portfolio-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    padding: 2rem; color: var(--white); transform: translateY(20px); opacity: 0; transition: var(--transition);
}
.portfolio-card:hover .portfolio-overlay { transform: translateY(0); opacity: 1; }
.portfolio-overlay h3 { color: var(--white); margin: 0; }
.portfolio-overlay p { color: rgba(255,255,255,0.8); margin: 0; }

.article-container { max-width: 900px; }
.premium-article {
    background: var(--white); padding: 3rem; border-radius: var(--radius); box-shadow: var(--shadow);
}
.article-header { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 2px solid var(--bg-alt); }
.article-meta { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }
.premium-article h2 {
    margin-top: 2.5rem; color: var(--primary); border-left: 4px solid var(--accent); padding-left: 1rem;
}
.premium-article h3 { margin-top: 1.5rem; color: var(--secondary); }
.premium-article ul { margin: 1rem 0 1.5rem 1.5rem; color: var(--text); }
.premium-article li { margin-bottom: 0.5rem; }
.premium-article a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.premium-article a:hover { color: #0891b2; }

.comparison-table {
    width: 100%; border-collapse: collapse; margin: 1.5rem 0; background: var(--white);
    border-radius: 8px; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.comparison-table th, .comparison-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--bg-alt); }
.comparison-table th { background: var(--primary); color: var(--white); font-weight: 600; }
.comparison-table tr:last-child td { border-bottom: none; }

.callout-box, .warning-box { padding: 1.5rem; border-radius: 12px; margin: 1.5rem 0; }
.callout-box { background: rgba(6, 182, 212, 0.1); border-left: 4px solid var(--accent); }
.warning-box { background: rgba(239, 68, 68, 0.1); border-left: 4px solid #ef4444; }
.callout-box h3, .warning-box h3 { margin-top: 0; font-size: 1.1rem; }

.founder-quote {
    font-style: italic; font-size: 1.25rem; color: var(--primary); border-left: 4px solid var(--accent);
    padding-left: 1.5rem; margin: 2rem 0; background: var(--bg-alt); padding: 2rem; border-radius: 0 12px 12px 0;
}

.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--white); border-radius: 12px; margin-bottom: 1rem;
    box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--glass-border);
}
.faq-question {
    width: 100%; padding: 1.5rem; background: none; border: none; text-align: left;
    font-size: 1.1rem; font-weight: 600; color: var(--primary); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; transition: var(--transition);
}
.faq-question:hover { background: rgba(6, 182, 212, 0.05); }
.faq-question .icon { font-size: 1.5rem; color: var(--accent); transition: transform 0.3s ease; }
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { max-height: 200px; padding: 0 1.5rem 1.5rem; }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card {
    background: var(--white); padding: 2rem; border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--glass-border); transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-5px); }
.testimonial-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.avatar {
    width: 50px; height: 50px; background: linear-gradient(135deg, var(--accent), #818cf8);
    color: var(--white); border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-weight: 700; font-size: 1.2rem;
}
.rating { color: #f59e0b; letter-spacing: 2px; }
.location { display: block; margin-top: 1rem; font-size: 0.85rem; color: var(--text-light); font-weight: 500; }

.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.info-icon {
    font-size: 1.5rem; width: 50px; height: 50px; background: rgba(6, 182, 212, 0.1);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.info-item h4 { margin: 0 0 0.25rem 0; font-size: 1.1rem; }
.info-item p { margin: 0; }
.glass-form {
    background: var(--white); padding: 2.5rem; border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--glass-border);
}
.form-group { margin-bottom: 1.5rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 14px; border: 1px solid #cbd5e1; border-radius: 8px;
    font-family: inherit; font-size: 1rem; transition: var(--transition); background: var(--bg);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}
.full-width { width: 100%; }

.footer { background: var(--primary); color: rgba(255, 255, 255, 0.8); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer h3 { color: var(--white); margin-bottom: 1rem; }
.footer h3 span { color: var(--accent); }
.footer h4 { color: var(--white); margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.75rem; }
.footer ul a:hover { color: var(--accent); padding-left: 5px; }
.footer-map-link { display: inline-block; margin-top: 1rem; color: var(--accent); font-weight: 600; }
.social-icons { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-icons a {
    width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--white);
    font-weight: bold; transition: var(--transition);
}
.social-icons a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.9rem; }

.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

@media (max-width: 968px) {
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links {
        position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px);
        background: var(--white); flex-direction: column; padding: 2rem;
        transition: var(--transition); box-shadow: var(--shadow);
    }
    .nav-links.active { left: 0; }
    .mobile-menu-btn { display: flex; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .btn-secondary { margin-left: 0; margin-top: 1rem; display: block; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .premium-article { padding: 1.5rem; }
}