:root {
    --primary: #F58220;
    --primary-hover: #d96e15;
    --secondary: #1B2B41;
    --secondary-light: #2c4260;
    --midnight-blue: #001524;
    --phthalo-green: #004040;
    /* Deep bluish green */
    --accent-green: #006666;
    --bg-light: #F4F7F9;
    --text-dark: #1B2B41;
    --text-body: #4A5568;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --radius-lg: 16px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-dark);
}

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

/* Hero */
.hero {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--midnight-blue) 0%, var(--phthalo-green) 100%);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-btns .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-btns .btn-outline:hover {
    background-color: var(--white);
    color: var(--midnight-blue);
    border-color: var(--white);
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Complex Morphing Shape */
.blob {
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, var(--primary), #ffb36b);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 8s ease-in-out infinite;
    opacity: 0.8;
    position: absolute;
    filter: blur(60px);
    z-index: 1;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, var(--accent-green), #4fd1c5);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 10s ease-in-out infinite reverse;
    opacity: 0.6;
    position: absolute;
    filter: blur(40px);
    z-index: 2;
    mix-blend-mode: screen;
}

.hero-image-container {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glassmorphism Card for visual interest */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 12px;
    width: 320px;
    height: auto;
    transform: rotate(-5deg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.card-image-container {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--midnight-blue);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-rating {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.star {
    color: #FFD700;
}

.card-content {
    padding: 0 8px 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.card-location {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.card-details {
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 12px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.detail-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.detail-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
}

.card-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.3);
}

.card-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245, 130, 32, 0.4);
}

.glass-card-2 {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    width: 280px;
    height: 350px;
    transform: rotate(10deg) translate(40px, 20px);
    position: absolute;
    z-index: -1;
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: #e6fffa;
    color: #047857;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.badge-blue {
    background-color: #ebf8ff;
    color: #006aa6;
}

/* Marketplace Section */
.marketplace-section {
    background-color: var(--white);
}

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

.feature-content ul {
    margin-bottom: 40px;
}

.feature-content li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: #fff5eb;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.feature-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.feature-image img:hover {
    transform: scale(1.02);
}

/* SAAS Section */
.saas-section {
    background-color: var(--bg-light);
}

.saas-card {
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 24px;
    padding: 80px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    position: relative;
    overflow: hidden;
}

.saas-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.saas-content>p {
    color: #cbd5e0;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.saas-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.saas-feature h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.saas-feature p {
    color: #a0aec0;
    font-size: 0.95rem;
}

.cta-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cta-box p {
    font-weight: 500;
}

.saas-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-block {
    background-color: #0f172a;
    width: 100%;
    height: 300px;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.red {
    background-color: #ff5f56;
}

.yellow {
    background-color: #ffbd2e;
}

.green {
    background-color: #27c93f;
}

.code-line {
    height: 12px;
    background-color: #334155;
    border-radius: 6px;
    width: 80%;
}

.code-line.short {
    width: 40%;
}

/* Checkout Card Styles */
.checkout-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.checkout-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.checkout-header {
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.checkout-header h3 {
    font-size: 1.5rem;
    color: var(--midnight-blue);
    margin: 0;
}

.checkout-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

.checkout-item:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.checkout-image {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
}

.checkout-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkout-details h4 {
    font-size: 0.85rem;
    color: var(--midnight-blue);
    margin: 0;
    line-height: 1.2;
}

.checkout-details p {
    font-size: 0.7rem;
    color: #666;
    margin: 0;
}

.checkout-pricing {
    display: flex;
    gap: 12px;
    margin-right: 8px;
}

.price-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-col .label {
    font-size: 0.55rem;
    color: #999;
    text-transform: uppercase;
}

.price-col .value {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--midnight-blue);
}

.checkout-btn {
    padding: 8px 16px;
    background: var(--midnight-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

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

@media (max-width: 768px) {
    .checkout-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .checkout-pricing {
        margin-right: 0;
        justify-content: center;
    }

    .checkout-btn {
        width: 100%;
    }
}

/* API Section */
.api-section {
    background-color: var(--midnight-blue);
    padding: 100px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.api-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(46, 204, 113, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
}

.api-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.api-text {
    flex: 1;
}

.api-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.api-text .subtitle {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.api-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.6;
}

.api-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.api-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.check-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background: rgba(46, 204, 113, 0.2);
    color: var(--primary);
    border-radius: 50%;
    font-size: 0.8rem;
}

.badge-purple {
    background: rgba(155, 89, 182, 0.2);
    color: #9b59b6;
}

.api-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Code Editor Card */
.code-editor-card {
    background: #1e1e1e;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.code-editor-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.editor-header {
    background: #252526;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.window-controls {
    display: flex;
    gap: 8px;
    margin-right: 16px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red {
    background: #ff5f56;
}

.control.yellow {
    background: #ffbd2e;
}

.control.green {
    background: #27c93f;
}

.file-name {
    font-family: monospace;
    font-size: 0.8rem;
    color: #888;
}

.editor-content {
    padding: 24px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #d4d4d4;
}

.key {
    color: #9cdcfe;
}

.string {
    color: #ce9178;
}

.number {
    color: #b5cea8;
}

@media (max-width: 968px) {
    .api-content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .api-features {
        align-items: center;
    }

    .api-visual {
        width: 100%;
    }

    .code-editor-card {
        transform: none;
    }

    .code-editor-card:hover {
        transform: none;
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: var(--white);
    padding: 80px 0 30px;
    border-top: 1px solid #e2e8f0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 30px;
    margin-bottom: 20px;
    display: block;
}

.footer-powered-by {
    height: 90px;
    width: auto;
    margin-bottom: 20px;
    display: block;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group h4 {
    margin-bottom: 20px;
    font-size: 1rem;
}

.link-group a {
    display: block;
    margin-bottom: 12px;
    color: var(--text-body);
}

.link-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    color: #a0aec0;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 968px) {

    .hero-content,
    .feature-grid,
    .saas-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .saas-card {
        padding: 40px;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 20px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 40px;
    }
}