:root {
    --primary: #4f46e5; /* Indigo 600 */
    --primary-dark: #4338ca; /* Indigo 700 */
    --secondary: #0f172a; /* Slate 900 */
    --accent: #f59e0b; /* Amber 500 */
    --text: #334155; /* Slate 700 */
    --text-light: #64748b; /* Slate 500 */
    --bg: #f8fafc; /* Slate 50 */
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow: 0 8px 32px rgba(79, 70, 229, 0.08);
    --shadow-hover: 0 20px 40px rgba(79, 70, 229, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Floating Parallax Backgrounds */
.bg-gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.35;
    pointer-events: none;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary), #818cf8);
    top: -200px;
    right: -150px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #3b82f6, var(--secondary));
    bottom: 10%;
    left: -150px;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent), #fbbf24);
    top: 40%;
    right: 10%;
}

/* Typography & Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    color: var(--secondary);
    line-height: 1.25;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; }

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

.highlight { color: var(--primary); }

/* Glassmorphism Base */
.glass-card, .glass-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    color: var(--white);
}

.glow-effect {
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px rgba(79, 70, 229, 0.3); }
    to { box-shadow: 0 0 25px rgba(79, 70, 229, 0.6), 0 0 40px rgba(245, 158, 11, 0.3); }
}

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

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

.btn-text {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-text:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.animated-badge {
    display: inline-block;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
}

.trust-icon { font-size: 1.2rem; }

/* Hero Visual & Floating Cards */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abstract-shape {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(245, 158, 11, 0.1));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    position: absolute;
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

.floating-card {
    position: absolute;
    padding: 1.25rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.card-1 { top: 20%; left: 0; animation-delay: 0s; }
.card-2 { bottom: 20%; right: 0; animation-delay: -3s; }

.card-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-text { display: flex; flex-direction: column; }
.card-text strong { color: var(--secondary); font-size: 0.95rem; }
.card-text span { color: var(--text-light); font-size: 0.8rem; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Stats Section */
.stats-section {
    margin-top: -40px;
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.stat-box {
    padding: 1rem;
    border-right: 1px solid rgba(0,0,0,0.05);
}

.stat-box:last-child { border-right: none; }

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Sections General */
.section { padding: 100px 0; }
.alt-bg { background: rgba(241, 245, 249, 0.6); }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Bento Grid Services */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(250px, auto);
    gap: 1.5rem;
}

.bento-item {
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.item-wide {
    grid-column: span 3;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.bento-item h3 { margin-bottom: 0.75rem; }
.bento-item p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1rem; flex-grow: 1; }

.feature-list {
    list-style: none;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.feature-list li {
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    border-radius: 3px;
}

.timeline-item {
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-node {
    position: absolute;
    left: -40px;
    width: 34px;
    height: 34px;
    background: var(--white);
    border: 3px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 0 0 6px rgba(79, 70, 229, 0.1);
}

.timeline-content {
    padding: 1.75rem;
    border-radius: 16px;
}

/* Portfolio / Results (CSS Abstract) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 280px;
    cursor: pointer;
}

.abstract-art {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.art-1 { background: conic-gradient(from 0deg, #4f46e5, #818cf8, #4f46e5); }
.art-2 { background: conic-gradient(from 90deg, #3b82f6, #0f172a, #3b82f6); }
.art-3 { background: conic-gradient(from 180deg, #f59e0b, #4f46e5, #f59e0b); }

.portfolio-card:hover .abstract-art {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: white;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay h4 { color: white; margin-bottom: 0.25rem; }
.portfolio-overlay p { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin: 0; }

/* Article Styling */
.article-container { max-width: 900px; }

.premium-article {
    padding: 3.5rem;
    border-radius: 24px;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.article-category {
    display: inline-block;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.article-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.article-content h2 {
    margin-top: 3rem;
    color: var(--secondary);
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

.article-content h3 {
    margin-top: 2rem;
    color: var(--text);
}

.article-content p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    color: var(--text);
}

.article-content a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(79, 70, 229, 0.3);
    text-underline-offset: 4px;
}

.article-content a:hover {
    text-decoration-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}

.callout-box {
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid;
}

.callout-box.tip {
    background: rgba(79, 70, 229, 0.05);
    border-color: var(--primary);
    color: #3730a3;
}

.comparison-table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.comparison-table th, .comparison-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.comparison-table th {
    background: var(--secondary);
    color: white;
    font-weight: 600;
}

.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover { background: rgba(79, 70, 229, 0.02); }

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: rgba(79, 70, 229, 0.03);
    padding: 1.75rem;
    border-radius: 16px;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.feature-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.checklist {
    list-style: none;
    margin: 1.5rem 0;
}

.checklist li {
    padding: 0.75rem 0 0.75rem 2.5rem;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 1.05rem;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.2rem;
}

.summary-box {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(245, 158, 11, 0.05));
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 3rem;
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.summary-box h3 { margin-top: 0; color: var(--primary); }
.summary-box ul { margin-top: 1rem; padding-left: 1.5rem; }
.summary-box li { margin-bottom: 0.75rem; font-size: 1.05rem; }

/* FAQ Accordion */
.faq-section { margin: 3rem 0; }

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question::after {
    content: '+';
    font-size: 1.75rem;
    color: var(--primary);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2.5rem;
    border-radius: 24px;
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover { transform: translateY(-5px); }

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    letter-spacing: 3px;
}

.testimonial-card > p {
    font-style: italic;
    color: var(--text);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--secondary);
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    padding: 3.5rem;
    border-radius: 24px;
}

.info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: var(--secondary);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.contact-form .form-group { margin-bottom: 1.5rem; }

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    background: rgba(255,255,255,0.6);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    background: var(--white);
}

/* Footer */
.footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer h3 { color: white; margin-bottom: 1.25rem; font-size: 1.4rem; }
.footer h4 { color: white; font-size: 1.1rem; margin-bottom: 1.5rem; }

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.875rem; }

.footer ul a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}

.footer ul a:hover { color: var(--accent); }

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons span {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.social-icons span:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin: 0 auto 2.5rem; }
    .hero-actions { justify-content: center; }
    .trust-indicators { justify-content: center; }
    .hero-visual { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-box { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.05); }
    .bento-grid { grid-template-columns: 1fr; }
    .item-large, .item-wide { grid-column: span 1; grid-row: span 1; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        align-items: center;
        padding-top: 6rem;
        transition: right 0.4s ease;
        backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    
    .nav-links.active { right: 0; }
    .hamburger { display: flex; }
    .nav-cta { display: none; }
    
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 320px; }
    
    .premium-article { padding: 2rem 1.5rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
}