@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Inter:wght@400;500&display=swap');

:root {
    --primary-color: #6a11cb; /* Deep purple */
    --secondary-color: #2575fc; /* Vibrant blue */
    --accent-color: #00f2fe; /* Cyan accent */
    --bg-color: #f0f2f5; /* Light grey background */
    --card-bg-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
    --text-color: #333;
    --light-text-color: #f8f9fa;
    --heading-color: #1a2a4d; /* Dark blue/grey for headings */
    --success-color: #28a745;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease-in-out;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; font-weight: 700; color: var(--light-text-color);}
h2 { font-size: 2.2rem; font-weight: 600; text-align: center; margin-bottom: 3rem;}
h3 { font-size: 1.5rem; font-weight: 600; }
p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary-color); }

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 35px;
}

nav ul li a {
    text-decoration: none;
    color: var(--heading-color);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after { /* Add .active class for current section */
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    padding: 120px 0;
    background: var(--bg-color);
    color: var(--text-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--light-text-color);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
    opacity: 1.0;
    font-weight: 400;
}

/* Clock Showcase */
.clock-showcase {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.clock {
    background: var(--card-bg-color);
    backdrop-filter: none;
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    min-width: 150px;
}

.clock-city {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-color);
    opacity: 0.8;
}

.clock-time {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--heading-color);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: #fff; /* White background for contrast */
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Changed from auto-fit to 2 columns */
    gap: 40px;
}

.feature-card {
    background-color: var(--card-bg-color);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background-color: var(--bg-color);
    text-align: center;
}

.pricing-card {
    background-color: #fff;
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 450px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.pricing-card h3 {
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.price {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
    line-height: 1;
}

.price span {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 400;
    display: block;
    margin-top: 5px;
}

.benefits {
    list-style: none;
    margin: 30px 0;
    text-align: left;
    display: inline-block; /* Center list items */
}

.benefits li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    position: relative;
    padding-left: 30px;
}

.benefits li:last-child {
    border-bottom: none;
}

.benefits li:before {
    content: "✓";
    color: var(--success-color);
    position: absolute;
    left: 0;
    top: 12px;
    font-weight: bold;
    font-size: 1.2rem;
}

.pricing-card .btn-primary {
    margin-top: 20px;
    width: 100%; /* Make button full width */
}

/* Setup Guide Section */
.setup-guide {
    padding: 100px 0;
    background-color: #fff;
}

.setup-guide h2 {
    margin-bottom: 3rem;
}

.guide-content {
    max-width: 800px;
    margin: 0 auto;
}

.guide-intro {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 25px;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.step-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.additional-info {
    margin-top: 3rem;
    padding: 25px;
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    border: 1px dashed var(--secondary-color);
}

.additional-info h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.additional-info ul {
    list-style: none;
    padding-left: 0;
}

.additional-info li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 25px;
}

.additional-info li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.plugin-demo {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  text-align: center;
  overflow: hidden;
}

.plugin-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.plugin-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.plugin-screenshot {
  width: 100%;
  max-width: 1400px; /* Contain it nicely */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transform: scale(1);
  transition: transform 1s ease;
}

.plugin-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 1s ease;
}

.plugin-zoom {
  position: absolute;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
  transition: all 1s ease;
  z-index: 2;
}

.zoom-image {
  width: 400px;
}

.zoom-label {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 10px;
}

.plugin-screenshot-wrapper {
  position: relative;
  display: inline-block;
}

.plugin-overlay {
  position: absolute;
  top: -15px;
  left: -35px;
  border-radius: 8px;
  width: 105%;
  height: 105.25%;
  background: rgba(0, 0, 0, 0);
  transition: background 1s ease;
  pointer-events: none;
  z-index: 1;
}

.plugin-zoom {
  z-index: 2;
}

/* Triggered state */
.plugin-demo.in-view .plugin-screenshot {
  transform: scale(1.05);
}

.plugin-demo.in-view .plugin-overlay {
  background: rgba(0, 0, 0, 0.65);
}

.plugin-demo.in-view .plugin-zoom {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.faq-item {
    background-color: #fff;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--primary-color);
    cursor: pointer; /* Optional: for expanding/collapsing */
}

/* Footer */
footer {
    background-color: var(--heading-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
}

footer p {
    margin-bottom: 0;
}

footer a {
    color: var(--accent-color);
}
footer a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    .hero h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    .hero .subtitle { font-size: 1.2rem; }
    .feature-grid { 
        gap: 30px; /* Keep reduced gap */
    }
}

@media (max-width: 768px) {
    header { padding: 10px 0; }
    nav { flex-direction: column; align-items: center; padding: 10px 20px; }
    .logo { margin-bottom: 15px; }
    nav ul { margin-top: 10px; flex-wrap: wrap; justify-content: center;}
    nav ul li { margin: 5px 15px; }

    .hero { padding: 80px 0; }
    .hero h1 { font-size: 2.5rem; }
    .hero .subtitle { font-size: 1.1rem; max-width: 90%; }
    .clock-showcase { gap: 20px; }
    .clock { min-width: 130px; padding: 10px 20px;}
    .clock-time { font-size: 1.5rem; }

    .features, .pricing, .setup-guide, .faq { padding: 80px 0; }
    h2 { font-size: 1.8rem; margin-bottom: 2rem; }

    .feature-grid { 
        grid-template-columns: 1fr; /* Switch to 1 column */
    }

    .step { flex-direction: column; align-items: center; text-align: center; padding: 20px; }
    .step-number { margin-right: 0; margin-bottom: 15px; }

    .pricing-card { max-width: 90%; padding: 40px 25px; }
}

@media (max-width: 576px) {
    body { line-height: 1.6; }
    .container { padding: 0 15px; }
    nav ul { justify-content: center; }
    nav ul li { margin: 5px 10px; }
    nav ul li a { font-size: 0.9rem; }

    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2rem; }
    .hero .subtitle { font-size: 1rem; }
    .clock-showcase { flex-direction: column; align-items: center; gap: 15px; }
    .clock { width: 80%; max-width: 200px; }

    .btn { padding: 10px 20px; font-size: 0.9rem; }

    .features, .pricing, .setup-guide, .faq { padding: 60px 0; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    .feature-card { padding: 25px; }
    .pricing-card { padding: 30px 20px; }
    .benefits li { font-size: 0.9rem; }

    .faq-item { padding: 20px; }

    footer { padding: 30px 0; font-size: 0.9rem;}
}

/* Responsive YouTube Embed */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 640px; /* Limit max width for centering */
    background: #000; 
    margin: 1.5rem auto 0; /* Center horizontally, keep top margin */
    border-radius: var(--border-radius); 
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
} 