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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --text-color: #374151;
    --border-color: #e5e7eb;
    --display-font: 'Playfair Display', Georgia, serif;
    --hero-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(226, 232, 240, 0.82);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.08));
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.35rem;
    background: rgba(248, 250, 252, 0.78);
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 999px;
    padding: 0.35rem;
}

.nav-menu a {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: 0 0.95rem;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.nav-menu a:hover {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.nav-menu .nav-cta {
    background: var(--dark-color);
    color: white;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.14);
}

.nav-menu .nav-cta:hover {
    background: var(--accent-color);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 50%;
    background: rgba(248, 250, 252, 0.88);
    cursor: pointer;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--dark-color);
    margin: 3px auto;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background:
        radial-gradient(circle at 18% 20%, rgba(245, 158, 11, 0.34), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.18), transparent 24%),
        linear-gradient(135deg, #1d4ed8 0%, var(--primary-color) 46%, #172554 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 82%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 82%);
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* floating shapes */

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 340px;
    height: 340px;
    background: rgba(255, 255, 255, 0.86);
    top: -120px;
    right: -70px;
    animation-duration: 8s;
}

.shape-2 {
    width: 240px;
    height: 240px;
    background: var(--accent-color);
    bottom: 70px;
    left: -110px;
    animation-duration: 10s;
    animation-delay: 1s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: white;
    top: 50%;
    right: 10%;
    animation-duration: 7s;
    animation-delay: 2s;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.16);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: var(--hero-font);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(12px);
    animation: slideDown 0.8s ease;
}

.hero-badge::before {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.18);
}

.hero-content h1 {
    font-family: var(--display-font);
    font-size: 4.85rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: 0;
    animation: slideDown 0.8s ease 0.1s both;
    background: linear-gradient(to right, white, rgba(255, 255, 255, 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h1 span {
    color: #fbbf24;
    -webkit-text-fill-color: #fbbf24;
    text-shadow: 0 12px 34px rgba(251, 191, 36, 0.18);
}

.hero-subtitle {
    font-family: var(--hero-font);
    font-size: 1.35rem;
    font-weight: 500;
    margin: 0 auto 1.5rem;
    max-width: 720px;
    opacity: 0.95;
    line-height: 1.5;
    animation: slideDown 0.8s ease 0.2s both;
}

.hero-proof {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    animation: slideDown 0.8s ease 0.25s both;
}

.hero-proof span {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--hero-font);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.55rem 0.9rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3.5rem;
    animation: slideDown 0.8s ease 0.3s both;
    flex-wrap: wrap;
}

.cta-button-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.86);
    transition: all 0.3s;
    font-size: 1rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.cta-button-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    animation: slideDown 0.8s ease 0.4s both;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    min-width: 130px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.85;
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 14px 28px rgba(245, 158, 11, 0.28);
}

.cta-button:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

/* Services Section */
.services {
    padding: 80px 20px;
    background: var(--light-color);
}

.services h2,
.portfolio h2,
.pricing h2,
.contact h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services h2::after,
.portfolio h2::after,
.pricing h2::after,
.contact h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    margin: 1rem auto 2rem;
    border-radius: 2px;
    animation: expandWidth 0.8s ease forwards;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

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

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}
.service-card p {
    color: #6b7280;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 20px;
}

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

.portfolio-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: scale(1.03);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-info {
    padding: 1.5rem;
    background: white;
}

.portfolio-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.portfolio-info p {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.portfolio-link {
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s;
}

.portfolio-link::after {
    content: '→';
    margin-left: 0.4rem;
    transition: transform 0.3s;
}

.portfolio-link:hover {
    color: var(--secondary-color);
}

.portfolio-link:hover::after {
    transform: translateX(3px);
}

/* Pricing Section */
.pricing {
    padding: 80px 20px;
    background: var(--light-color);
}

.pricing-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.pricing-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.price {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.price-description {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
    flex: 1;
}

.features li {
    padding: 0.75rem 0;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

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

.pricing-button {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: auto;
}

.pricing-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.pricing-note {
    text-align: center;
    color: #6b7280;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
}

.contact p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #6b7280;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 3rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form button {
    width: 100%;
}

.contact-info {
    text-align: center;
}

.contact-info p {
    margin: 1rem 0;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

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

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 3rem 20px;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 20px;
        right: 20px;
        width: auto;
        flex-direction: column;
        align-items: stretch;
        background: rgba(255, 255, 255, 0.96);
        border-radius: 18px;
        gap: 0.25rem;
        padding: 0.6rem;
        box-shadow: 0 22px 44px rgba(15, 23, 42, 0.14);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        padding: 0;
        border-bottom: none;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        min-height: auto;
        padding: 0.9rem 1rem;
    }

    .nav-menu .nav-cta {
        text-align: center;
        justify-content: center;
    }

    .hero {
        min-height: auto;
        padding: 80px 20px;
    }

    .hero-content h1 {
        font-size: 3.15rem;
        line-height: 1.02;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-proof {
        margin-bottom: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem !important;
    }

    .services h2,
    .portfolio h2,
    .pricing h2,
    .contact h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .services h2::after,
    .portfolio h2::after,
    .pricing h2::after,
    .contact h2::after {
        width: 60px;
        margin: 0.75rem auto 1.5rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: scale(1) translateY(-5px);
    }

    .services-grid,
    .portfolio-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 50px 20px;
    }

    .services,
    .portfolio,
    .pricing,
    .contact {
        padding: 50px 20px;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.82rem;
        padding: 0.65rem 1rem;
    }

    .hero-content h1 {
        font-size: 2.45rem;
        line-height: 1.05;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-proof span {
        font-size: 0.82rem;
        padding: 0.5rem 0.75rem;
    }

    .cta-button,
    .cta-button-secondary {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .services h2,
    .portfolio h2,
    .pricing h2,
    .contact h2 {
        font-size: 1.5rem;
    }

    .services h2::after,
    .portfolio h2::after,
    .pricing h2::after,
    .contact h2::after {
        width: 50px;
        margin: 0.5rem auto 1rem;
    }
}
