:root {
    --primary-color: #4A154B;
    --secondary-color: #5865F2;
    --accent-color: #007a5a;
    --background-color: #F9F9F9;
    --surface-color: #FFFFFF;
    --text-primary: #1D1C1D;
    --text-secondary: #616061;
    --border-color: #DDDDDD;
    --radius-sm: 6px;
    --radius-md: 8px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
}

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

header {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    background-image: linear-gradient(135deg, #4A154B 0%, #3c113d 100%);
}

header h1 {
    margin: 20px 0 10px;
    font-size: 3em;
    font-weight: 800;
    letter-spacing: -1px;
}

header p {
    font-size: 1.4em;
    margin: 0 0 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    background-color: white;
    color: var(--primary-color);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1em;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Coverflow Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 40px auto 80px;
    height: 450px;
    perspective: 1200px;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.carousel-slide {
    position: absolute;
    width: 45%;
    max-width: 600px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-slide img,
.carousel-slide>div {
    display: block;
    width: 100%;
    height: auto;
}

/* Center slide - full size and focused */
.carousel-slide.active {
    transform: translateX(0) translateZ(0) scale(1) rotateY(0deg);
    z-index: 3;
    opacity: 1;
    filter: blur(0);
}

/* Left slide - smaller, rotated, and offset */
.carousel-slide.prev {
    transform: translateX(-60%) translateZ(-200px) scale(0.75) rotateY(35deg);
    z-index: 2;
    opacity: 0.5;
    filter: blur(1px);
}

/* Right slide - smaller, rotated, and offset */
.carousel-slide.next {
    transform: translateX(60%) translateZ(-200px) scale(0.75) rotateY(-35deg);
    z-index: 2;
    opacity: 0.5;
    filter: blur(1px);
}

/* Hidden slides - completely out of view */
.carousel-slide.hidden {
    transform: translateX(0) translateZ(-400px) scale(0.5);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(74, 21, 75, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

.dot:hover {
    background: rgba(74, 21, 75, 0.6);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .carousel-container {
        max-width: 1000px;
        height: 400px;
    }

    .carousel-slide {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        height: 300px;
        margin: 20px auto 60px;
    }

    .carousel-slide {
        width: 70%;
    }

    .carousel-slide.prev,
    .carousel-slide.next {
        transform: translateX(0) translateZ(-300px) scale(0.6);
        opacity: 0.3;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 250px;
    }

    .carousel-slide {
        width: 85%;
    }
}

section {
    padding: 80px 0;
    margin: 0;
}

section:nth-of-type(even) {
    background-color: #f0f0f0;
    /* Light grey for contrast */
}

h2 {
    font-size: 2em;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-color);
}

h3 {
    color: var(--text-primary);
    margin-top: 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    background: var(--surface-color);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.2s;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    margin: 0 auto 20px;
}

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

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

.feature-card {
    background: var(--surface-color);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

footer {
    background-color: var(--surface-color);
    padding: 60px 0;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.chrome-badge {
    transition: transform 0.2s;
    margin-bottom: 40px;
    display: inline-block;
}

.chrome-badge:hover {
    transform: scale(1.05);
}