/* idoShare - Countdown Timer Product Website */
/* Clean, Minimal, Professional Design */

/* ==================== Variables ==================== */
:root {
    /* Brand Colors - Matching the app */
    --primary-orange: #FF8C00;
    --primary-orange-hover: #E07B00;
    --accent-blue: #4CAF50;
    --accent-blue-hover: #388E3C;
    --danger-red: #E53935;
    --text-dark: #2B2B2B;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #2B2B2B;
    --border-color: #E0E0E0;

    /* Spacing & Layout */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ==================== Reset & Base ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

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

a:hover {
    color: var(--primary-orange-hover);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* ==================== Layout ==================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding);
}

/* ==================== Header & Navigation ==================== */
header {
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--primary-orange);
    font-size: 1.8rem;
}

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

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover,
nav a.active {
    color: var(--primary-orange);
}

/* Mobile Navigation */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* ==================== Hero Section ==================== */
.hero {
    background: linear-gradient(135deg, #FFF8F0 0%, #FFFFFF 100%);
    padding: 100px 0;
    text-align: center;
}

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

.hero h1 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    color: var(--primary-orange);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.hero-cta {
    display: inline-block;
    background-color: var(--primary-orange);
    color: white;
    padding: 15px 40px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.hero-cta:hover {
    background-color: var(--primary-orange-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.hero-image {
    margin-top: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

/* ==================== Features Section ==================== */
.features {
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

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

.feature-card:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ==================== Product Showcase ==================== */
.showcase {
    background: var(--bg-light);
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

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

.showcase-item.reverse {
    direction: rtl;
}

.showcase-item.reverse > * {
    direction: ltr;
}

.showcase-image {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.showcase-content h3 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.showcase-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-gray);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ==================== Pricing/Purchase Section ==================== */
.pricing {
    background: var(--bg-white);
    text-align: center;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--primary-orange);
    border-radius: var(--border-radius);
    padding: 50px 40px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.pricing-price {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.pricing-price .currency {
    font-size: 2rem;
    vertical-align: top;
}

.pricing-period {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

.purchase-button {
    display: inline-block;
    background-color: var(--primary-orange);
    color: white;
    padding: 18px 50px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
}

.purchase-button:hover {
    background-color: var(--primary-orange-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.purchase-button:disabled {
    background-color: var(--text-light);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==================== Payment Methods ==================== */
.payment-methods {
    margin-top: 2rem;
    text-align: center;
}

.payment-methods h4 {
    color: var(--text-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.payment-icon {
    background: var(--bg-light);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--text-gray);
    border: 1px solid var(--border-color);
}

.payment-icon.visa {
    color: #1A1F71;
}

.payment-icon.mastercard {
    color: #EB001B;
}

.payment-icon.paypal {
    color: #003087;
}

.payment-icon.alipay {
    color: #1677FF;
}

/* ==================== Help/Documentation Section ==================== */
.help {
    background: var(--bg-light);
}

.help-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.help-section {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.help-section h3 {
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.help-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.help-text {
    color: var(--text-gray);
    line-height: 1.8;
}

.help-text p {
    margin-bottom: 1.5rem;
}

.help-step {
    background: var(--bg-light);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary-orange);
}

.help-step-number {
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.help-screenshot {
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.faq-answer {
    color: var(--text-gray);
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question {
    color: var(--primary-orange);
}

/* ==================== Footer ==================== */
footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-light);
    transition: var(--transition);
}

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

.footer-contact {
    color: var(--text-light);
    line-height: 1.8;
}

.footer-contact a {
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.brand-name {
    color: var(--primary-orange);
    font-weight: 600;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 968px) {
    .showcase-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .showcase-item.reverse {
        direction: ltr;
    }

    .help-content {
        grid-template-columns: 1fr;
    }

    .help-screenshot {
        order: -1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 15px;
    }

    nav.active {
        display: flex;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 0;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .pricing-price {
        font-size: 3rem;
    }

    .payment-icons {
        gap: 10px;
    }

    .payment-icon {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/* ==================== Utility Classes ==================== */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-orange);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }