:root {
    --bg-color: #0d1117;
    --card-bg: #161b22;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --accent-color: #2f81f7;
    --accent-glow: rgba(47, 129, 247, 0.4);
    --gradient-start: #238636;
    --gradient-end: #2ea043;
    --border-color: #30363d;

    /* Premium Palette Mod */
    --primary-gradient: linear-gradient(135deg, #00C9FF 0%, #92FE9D 100%);
    --secondary-gradient: linear-gradient(135deg, #fc00ff 0%, #00dbde 100%);
    --dark-surface: #0a0a0a;
    --glass-surface: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-surface);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.5rem;
}

.gradient-text {
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 1.5rem auto 3rem;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 6rem 0 4rem;
    background: radial-gradient(circle at 50% 10%, #1f2335 0%, #0a0a0a 60%);
}

.hero-image-wrapper {
    position: relative;
    margin-top: 3rem;
    border-radius: 16px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.hero-image {
    width: 100%;
    border-radius: 12px;
    display: block;
    transform: perspective(1000px) rotateX(1deg);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: perspective(1000px) rotateX(0deg) scale(1.01);
}

.glow-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(47, 129, 247, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Features */
.features {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-surface);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.icon-box {
    font-size: 2rem;
    color: #4facfe;
    margin-bottom: 1rem;
    background: rgba(79, 172, 254, 0.1);
    display: inline-flex;
    padding: 12px;
    border-radius: 12px;
}

/* Features Rows */
.features-rows {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: 4rem;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease;
}

.feature-image img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.feature-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(47, 129, 247, 0.2);
    border-color: var(--accent-color);
}

.feature-image:hover img {
    transform: scale(1.03);
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #b4b4b4);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* App Section */
.app-section {
    padding: 6rem 0;
    background: linear-gradient(to right, #0a0a0a, #111);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.phone-mockup {
    border: 8px solid #333;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    position: relative;
    max-width: 300px;
    margin: 0 auto;
    background: #000;
}

.phone-mockup video {
    width: 100%;
    display: block;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: #00f260;
    font-size: 1.2rem;
}

/* Sync Section */
.sync-section {
    padding: 6rem 0;
}

.image-wrapper.glow-border {
    position: relative;
}

.image-wrapper.glow-border img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(13, 222, 114, 0.2);
    border: 1px solid rgba(13, 222, 114, 0.3);
}

.step-list {
    margin-top: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.step-number {
    background: #232323;
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    font-weight: bold;
    border: 1px solid #444;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 6rem 0;
    background: radial-gradient(circle at 50% 100%, #1f1a30 0%, #0a0a0a 60%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-primary {
    display: inline-block;
    background: var(--secondary-gradient);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(252, 0, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 0, 255, 0.6);
}

.copyright {
    margin-top: 4rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsiveness */
@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .reverse .text-content {
        order: -1;
    }

    .feature-list {
        text-align: left;
        display: inline-block;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding-top: 4rem;
    }
}