/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark: #111;
    --white: #fff;
    --gray: #F6F7F9;
    --text: #333;
    --text-light: #666;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --brand-blue: #105090;
    --brand-teal: #20A0B0;
    --brand-green: #60C080;
    --brand-gradient: linear-gradient(90deg, var(--brand-blue), var(--brand-teal), var(--brand-green));
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

svg [fill]:not([fill="none"]) {
    fill: var(--brand-teal);
}

svg [stroke]:not([stroke="none"]) {
    stroke: var(--brand-teal);
}

a {
    text-decoration: none;
    color: inherit;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    background: var(--dark);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 1000;
}

.skip-link:focus {
    left: 16px;
}

.back-to-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-gradient);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 6px 16px var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 200;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 16px;
}

.header-logo {
    width: 160px;
    height: auto;
    object-fit: contain;
    display: block;
}

.nav {
    display: none;
    gap: 32px;
    margin-left: auto;
}

.nav a {
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--brand-teal);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--brand-gradient);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--brand-teal);
}

.btn-secondary:hover {
    background: var(--brand-gradient);
    color: var(--white);
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #F3F8FF 0%, #E7F7F5 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.hero h1 {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
    background-image: var(--brand-gradient);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hero-gradient 6s linear infinite;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto 32px;
}


.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.trust-badges {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px var(--shadow);
}

/* Section */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--gray);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    background-image: var(--brand-gradient);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hero-gradient 8s linear infinite;
}

@keyframes hero-gradient {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

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

.card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 12px var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-hover);
}

.card-icon {
    margin-bottom: 20px;
}

.card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.card p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.card ul {
    list-style: none;
}

.card ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
    color: var(--text);
}

.card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-teal);
    font-weight: 700;
}

/* Why Grid */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.why-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.why-item p {
    color: var(--text-light);
}

.why-icon-svg {
    width: 22px;
    height: 22px;
    color: var(--brand-teal);
    flex: 0 0 22px;
}

/* Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--brand-gradient);
    background-size: 200% 100%;
    color: var(--dark);
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    animation: hero-gradient 6s linear infinite;
}

.process-step:nth-child(1) .step-number {
    animation-delay: 0s;
}

.process-step:nth-child(2) .step-number {
    animation-delay: 0.6s;
}

.process-step:nth-child(3) .step-number {
    animation-delay: 1.2s;
}

.process-step:nth-child(4) .step-number {
    animation-delay: 1.8s;
}


.process-step h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--dark);
}

.process-step p {
    color: var(--text-light);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.pricing-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: 0 4px 12px var(--shadow);
    text-align: center;
    position: relative;
    transition: transform 0.2s;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-featured {
    border: 3px solid var(--brand-teal);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-gradient);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--dark);
}

.price {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    background-image: var(--brand-gradient);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: hero-gradient 6s linear infinite;
}

.price-desc {
    color: var(--text-light);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0 12px 32px;
    position: relative;
    color: var(--text);
    border-bottom: 1px solid var(--gray);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-teal);
    font-weight: 700;
    font-size: 18px;
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.portfolio-item {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
    transition: transform 0.2s;
}

.portfolio-item:hover {
    transform: translateY(-4px);
}

.portfolio-thumb {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--gray) 0%, #E8E9EB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-placeholder {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
}

.portfolio-item h3 {
    font-size: 20px;
    margin: 20px 20px 8px;
    color: var(--dark);
}

.portfolio-industry {
    font-size: 14px;
    color: var(--text-light);
    margin: 0 20px;
}

.portfolio-result {
    color: var(--brand-teal);
    font-weight: 600;
    margin: 8px 20px 20px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--dark);
}

.contact-item {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-item strong {
    color: var(--dark);
}

.contact-item address {
    color: var(--brand-teal);
    font-weight: 600;
    font-style: normal;
}

.contact-item a {
    color: var(--brand-teal);
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--white);
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px var(--shadow);
    transition: transform 0.2s;
}

.contact-btn:hover {
    transform: translateX(4px);
}

.contact-map {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.map-placeholder {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--gray) 0%, #E8E9EB 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.map-placeholder p {
    font-weight: 600;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 48px 0 24px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 24px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Responsive */
@media (min-width: 768px) {
    .nav {
        display: flex;
    }
    
    .hero h1 {
        font-size: 56px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero h1,
    .section-title,
    .step-number,
    .price {
        animation: none;
        background-position: 0% 50%;
    }
}
