:root {
    --bg-color: #0f1115;
    --text-color: #f3f4f6;
    --text-muted: #9ca3af;
    --primary: #ffffff;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --card-bg: #1f2937;
    --border-color: #374151;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 9999px;
    --transition: 0.3s ease;
    --font-main: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Dynamic Island Navbar */
.dynamic-navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: var(--transition);
    width: 90%;
    max-width: 600px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 17, 21, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-logo {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.05em;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    background: var(--primary);
    color: var(--bg-color) !important;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: #e5e7eb;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    background: radial-gradient(circle at 50% -20%, #1e3a8a 0%, var(--bg-color) 50%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero-section h1 span {
    color: var(--text-muted);
}

.hero-section p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm); /* Keep it straight/professional */
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-color);
}

.btn-primary:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Portfolio Section */
.portfolio-section {
    padding: 100px 0;
    overflow: hidden;
}

.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 400px;
}

@media (min-width: 768px) {
    .swiper-slide {
        width: 500px;
        height: 600px;
    }
}

.project-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: var(--card-bg);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.project-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.swiper-pagination-bullet {
    background: var(--text-muted);
}

.swiper-pagination-bullet-active {
    background: var(--primary);
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: #0a0b0e;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: var(--accent);
    background: linear-gradient(to bottom, rgba(37, 99, 235, 0.05), var(--card-bg));
    transform: scale(1.05);
}

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

.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.features-list {
    margin-bottom: 40px;
}

.features-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.features-list li::before {
    content: '✓';
    color: var(--primary);
    margin-right: 12px;
    font-weight: bold;
}

.btn-full {
    width: 100%;
}

.btn-featured {
    background: var(--accent);
    color: white;
}

.btn-featured:hover {
    background: var(--accent-hover);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.contact-form-container {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0,0,0,0.4);
}

.btn-submit {
    width: 100%;
    position: relative;
}

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0,0,0,0.1);
    border-bottom-color: var(--bg-color);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.loader.hidden {
    display: none;
}

@keyframes rotation {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.form-message {
    margin-top: 16px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px;
    border-radius: var(--radius-sm);
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.05em;
}

.footer-logo span {
    color: var(--accent);
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0px 6px 25px rgba(37, 211, 102, 0.6);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-container {
        justify-content: center;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }

    .contact-info h2 {
        font-size: 2.5rem;
    }
}
