/* ShadCN-inspired CSS */
:root {
    --background: #ffffff;
    --foreground: #020817;
    --card: #ffffff;
    --card-foreground: #020817;
    --popover: #ffffff;
    --popover-foreground: #020817;
    --primary: #0f172a;
    --primary-foreground: #f8fafc;
    --secondary: #f1f5f9;
    --secondary-foreground: #0f172a;
    --muted: #f1f5f9;
    --muted-foreground: #64748b;
    --accent: #f1f5f9;
    --accent-foreground: #0f172a;
    --destructive: #ef4444;
    --destructive-foreground: #f8fafc;
    --border: #e2e8f0;
    --input: #e2e8f0;
    --ring: #94a3b8;
    --radius: 0.75rem;
    --gradient-start: #3b82f6;
    --gradient-end: #8b5cf6;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo__text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.logo__accent {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav__list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    text-decoration: none;
    color: var(--foreground);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav__link:hover {
    color: var(--gradient-start);
}

.nav__link--button {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    transition: opacity 0.2s;
}

.nav__link--button:hover {
    opacity: 0.9;
    color: white !important;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--foreground);
    margin: 3px 0;
    transition: 0.2s;
    border-radius: 1px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu__list {
    list-style: none;
}

.mobile-menu__item {
    margin-bottom: 0.5rem;
}

.mobile-menu__link {
    display: block;
    padding: 0.75rem;
    text-decoration: none;
    color: var(--foreground);
    border-radius: var(--radius);
    transition: background 0.2s;
}

.mobile-menu__link:hover {
    background: var(--muted);
}

.mobile-menu__link--button {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white !important;
    text-align: center;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    overflow: hidden;
}

.hero__gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle at 70% 50%, rgba(59,130,246,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero__content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Chip Component */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--muted);
    border-radius: 9999px;
    margin-bottom: 2rem;
}

.chip__dot {
    width: 0.5rem;
    height: 0.5rem;
    background: #10b981;
    border-radius: 9999px;
    animation: pulse 2s infinite;
}

.chip__text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Stats */
.hero__stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.stat {
    text-align: center;
}

.stat__number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1;
}

.stat__label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.button--primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

.button--primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.button--ghost {
    background: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
}

.button--ghost:hover {
    background: var(--muted);
}

.button--full {
    width: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--muted);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.section-tag--light {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-description {
    color: var(--muted-foreground);
    font-size: 1.1rem;
}

/* Process Section */
.process {
    padding: 6rem 0;
    background: var(--secondary);
}

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

.process-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

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

.process-card__number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--muted-foreground);
    opacity: 0.3;
    margin-bottom: 1rem;
    line-height: 1;
}

.process-card__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.process-card__description {
    color: var(--muted-foreground);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 6rem 0;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-card__icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.feature-card__title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature-card__description {
    color: var(--muted-foreground);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: var(--secondary);
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.2s;
}

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

.project-card__content {
    padding: 2rem;
}

.project-card__category {
    font-size: 0.875rem;
    color: var(--gradient-start);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.project-card__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.project-card__description {
    color: var(--muted-foreground);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-card__tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-card__tech span {
    padding: 0.25rem 0.75rem;
    background: var(--muted);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.cta__card {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.cta__header {
    text-align: center;
    margin-bottom: 2rem;
}

.cta__title {
    font-size: 2rem;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.cta__description {
    color: var(--muted-foreground);
}

/* Form */
.cta__form {
    margin-bottom: 2rem;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form__group {
    margin-bottom: 1rem;
}

.form__label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--foreground);
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s;
    background: var(--background);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--gradient-start);
    box-shadow: 0 0 0 2px rgba(59,130,246,0.1);
}

.form__footnote {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Form Success */
.form__success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.form__success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form__success p {
    color: var(--muted-foreground);
}

/* Footer */
.footer {
    background: var(--foreground);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer__description {
    color: rgba(255,255,255,0.7);
    margin-top: 1rem;
    max-width: 300px;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer__title {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: 0.5rem;
}

.footer__list a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer__list a:hover {
    color: white;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero__stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .button {
        width: 100%;
    }
    
    .form__row {
        grid-template-columns: 1fr;
    }
    
    .cta__card {
        padding: 2rem;
    }
    
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer__links {
        grid-template-columns: 1fr;
    }
    
    .process__grid,
    .features__grid,
    .projects__grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-card,
.feature-card,
.project-card {
    animation: fadeIn 0.6s ease-out forwards;
}
