:root {
    /* Light Theme Palette */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    /* Slate 50 */
    --bg-tertiary: #f1f5f9;
    /* Slate 100 */

    --accent-primary: #059669;
    /* Emerald 600 */
    --accent-secondary: #0f172a;
    /* Slate 900 */
    --accent-hover: #047857;
    /* Emerald 700 */

    --text-primary: #0f172a;
    /* Slate 900 */
    --text-secondary: #475569;
    /* Slate 600 */
    --text-tertiary: #94a3b8;
    /* Slate 400 */

    --border-color: #e2e8f0;
    /* Slate 200 */

    --font-main: 'Plus Jakarta Sans', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;
    /* Slightly sharper for professional look */
    --transition: all 0.2s ease-out;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

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

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: white;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--text-tertiary);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

/* Header */
header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--accent-secondary);
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-primary);
    /* Grid Pattern */
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    /* Mask to fade out edges */
    mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.08) 0%, rgba(5, 150, 105, 0) 70%);
    filter: blur(60px);
    z-index: -1;
    border-radius: 50%;
}

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

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

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

/* Features/About Section */
.features {
    padding: 120px 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

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

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    background: #ecfdf5;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

/* Product Spotlight */
/* Product Spotlight Redesign */
.product-spotlight {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-hover) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.product-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.product-spotlight .section-header h2,
.product-spotlight .section-header p {
    color: white;
}

.product-spotlight .section-header p {
    opacity: 0.9;
}

.product-showcase-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 4rem;
}

.feature-item {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.features-left .feature-item {
    align-items: flex-end;
    text-align: right;
}

.features-right .feature-item {
    align-items: flex-start;
    text-align: left;
}

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    backdrop-filter: blur(8px);
    color: white;
    transition: var(--transition);
}

.feature-item:hover .feature-icon-wrapper {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.feature-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 300px;
}

.product-phone-center {
    position: relative;
    z-index: 10;
    padding: 0 2rem;
}

/* Responsive Adjustments for Redesign */
@media (max-width: 1024px) {
    .product-showcase-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .features-left .feature-item,
    .features-right .feature-item {
        align-items: center;
        text-align: center;
    }

    .product-phone-center {
        order: -1;
        margin-bottom: 1rem;
    }

    .feature-item p {
        max-width: 400px;
    }
}

/* iPhone Frame */
/* Phone Frame (Android Style) */
.phone-frame {
    position: relative;
    width: 280px;
    height: 580px;
    background: #1e293b;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border: 8px solid #334155;
    overflow: hidden;
    margin: 0 auto;
    z-index: 1;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    overflow: hidden;
    position: relative;
}

.phone-slider {
    display: flex;
    width: 400%;
    /* 4 images */
    height: 100%;
    animation: slide 16s infinite;
}

.phone-slider img {
    width: 25%;
    /* 1/4 of the slider width */
    height: 100%;
    object-fit: cover;
    object-position: top;
}

@keyframes slide {

    0%,
    20% {
        transform: translateX(0);
    }

    25%,
    45% {
        transform: translateX(-25%);
    }

    50%,
    70% {
        transform: translateX(-50%);
    }

    75%,
    95% {
        transform: translateX(-75%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: white;
    text-align: center;
}

.footer-content {
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon {
    width: 24px;
    height: 24px;
    opacity: 0.6;
    transition: var(--transition);
}

.social-links a:hover .social-icon {
    opacity: 1;
    transform: scale(1.1);
}

.copyright {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* Availability Section */
.availability-section {
    text-align: center;
    margin-top: 6rem;
    position: relative;
    z-index: 2;
}

.availability-section h3 {
    color: white;
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
    opacity: 0.9;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badges-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.badge-wrapper {
    position: relative;
    transition: var(--transition);
}

.badge-wrapper:hover {
    transform: translateY(-4px);
}

.badge-wrapper img {
    height: 50px;
    width: auto;
    opacity: 0.85;
    cursor: pointer;
    display: block;
    /* Fixes spacing issues */
}

.badge-wrapper:hover img {
    opacity: 1;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

.coming-soon-banner {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    pointer-events: none;
    white-space: nowrap;
}

/* Add a small arrow pointing down */
.coming-soon-banner::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: var(--transition);
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .mobile-toggle {
        display: block;
    }

    .product-container {
        flex-direction: column;
        gap: 3rem;
    }

    .hero {
        padding-top: 140px;
        padding-bottom: 60px;
        /* Reduced from 120px */
    }

    .features {
        padding-top: 60px;
        /* Reduced from 120px */
        padding-bottom: 60px;
    }

    .section-header {
        margin-bottom: 3rem;
        /* Reduced from 5rem */
    }

    .badges-container {
        flex-direction: column;
        gap: 4rem;
        /* Increased to accommodate banners */
        margin-top: 2rem;
    }

    .badge-wrapper img {
        height: 45px;
    }

    /* Enforce centering on mobile */
    .features-left .feature-item,
    .features-right .feature-item {
        align-items: center;
        text-align: center;
    }

    .feature-item p {
        margin-left: auto;
        margin-right: auto;
    }
}