@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

:root {
    --bg-main: #020617;
    --bg-accent: #0f172a;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --secondary: #10b981;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-accent);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Shared Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.23);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--bg-main);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}


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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Mockup Placeholder */
.hero-mockup {
    margin-top: 5rem;
    background: var(--bg-accent);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: var(--shadow);
    transform: perspective(1000px) rotateX(5deg);
    transition: var(--transition);
}

.hero-mockup:hover {
    transform: perspective(1000px) rotateX(0deg);
}

.mockup-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Features */
.features {
    padding: 8rem 0;
    background: var(--bg-accent);
}

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

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

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

.feature-card {
    background: var(--bg-main);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary);
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
}

/* Calculator Section */
.calculator {
    padding: 8rem 0;
    background: var(--bg-main);
}

.calc-container {
    background: var(--bg-accent);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .calc-container { grid-template-columns: 1fr; }
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.calc-results {
    background: var(--bg-main);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--primary);
    text-align: center;
}

.calc-results h3 {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.calc-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 0.5rem;
}

/* Netflix Style Testimonials */
.testimonial-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.testimonial-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.testimonial-card {
    min-width: 350px;
    background: #111;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #333;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s;
    cursor: default;
}

.testimonial-card:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    z-index: 10;
}

/* Netflix Style FAQ */
.faq-container {
    max-width: 900px;
}

.faq-item {
    margin-bottom: 0.5rem;
    border-radius: 0;
    border: none;
    background: #2d2d2d;
}

.faq-question {
    padding: 1.5rem 2rem;
    font-size: 1.5rem;
    background: #2d2d2d;
}

.faq-answer {
    background: #2d2d2d;
    font-size: 1.2rem;
    border-top: 1px solid #000;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}


.faq-item.active .faq-answer {
    padding: 2rem;
    max-height: 500px;
}


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


/* Pricing */
.pricing {
    padding: 8rem 0;
}

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

/* Pricing Upgrade */
.pricing-card {

    background: var(--bg-accent);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
}

.pricing-card.featured::before {
    content: 'POULAR';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 40px;
    transform: rotate(45deg);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin: 1.5rem 0;
}

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

.features-list {
    list-style: none;
    margin: 2rem 0;
}

.features-list li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features-list li svg {
    color: var(--secondary);
}

/* Contact */
.contact {
    padding: 8rem 0;
    background: var(--bg-accent);
}

.contact-flex {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 1.5;
    min-width: 300px;
    background: var(--bg-main);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

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

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

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--bg-accent);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.form-group select option {
    background: var(--bg-accent);
    color: white;
}


/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-main);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    margin-bottom: 1rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #128c7e;
}

/* Portfolio Carousel */
.portfolio {
    padding: 8rem 0;
}

.portfolio-container {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.portfolio-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
}

.portfolio-item {
    min-width: 300px;
    flex: 1;
    background: var(--bg-accent);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.portfolio-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.portfolio-img {
    width: 100%;
    height: 200px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.control-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: var(--primary);
}

/* Responsiveness */
@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
}
