:root {
    --primary-color: #2b7af3;
    --secondary-color: #1a5cbf;
    --text-color: #333;
    --light-bg: #f5f7fa;
    --white: #ffffff;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: #333;
    margin-left: 5px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-buy {
    background-color: var(--primary-color);
    /* Blue for Buy Action */
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.btn-buy:hover {
    background-color: var(--secondary-color);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons .btn {
    display: inline-block;
    padding: 1rem 2rem;
    margin: 0 0.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s;
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
}

.btn-outline {
    border: 2px solid white;
    color: white;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
}

/* Preview Section */
.preview-container {
    max-width: 1200px;
    margin: -3rem auto 3rem;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.screenshot-frame {
    background: white;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid #eee;
}

.browser-bar {
    background: #f1f1f1;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #bbb;
}

.dot.red {
    background-color: #ff5f56;
}

.dot.yellow {
    background-color: #ffbd2e;
}

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

.screenshot-img {
    width: 100%;
    /* display: block; */
    /* Image will be block */
    height: auto;
    min-height: 600px;
    background-color: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 1.5rem;
    text-align: center;
}

.screenshot-img img {
    width: 100%;
    height: auto;
}

/* Gallery Section */
.gallery {
    padding: 4rem 2rem;
    background: #f8f9fa;
    text-align: center;
}

.gallery h2 {
    margin-bottom: 3rem;
    color: #333;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.gallery-item h3 {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #666;
}

.gallery-frame {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    height: 300px;
    /* Fixed height for consistency */
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gallery-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s;
}

.gallery-frame:hover img {
    transform: scale(1.02);
}

.gallery-placeholder {
    color: #999;
    font-size: 0.9rem;
    padding: 1rem;
}

/* Pricing Section */
.pricing {
    padding: 4rem 2rem;
    background: white;
    text-align: center;
}

.price-card {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 3rem;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(43, 122, 243, 0.1);
}

.price-tag {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 1rem 0;
}

.price-period {
    font-size: 1rem;
    color: #777;
    font-weight: normal;
}


/* Features */
.features {
    padding: 4rem 2rem;
    background: white;
    text-align: center;
}

.features h2 {
    margin-bottom: 3rem;
    color: #333;
}

.feature-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    flex: 1 1 300px;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem;
}

.footer a {
    color: white;
    text-decoration: underline;
}