/* style.css - PIP Alarm Optimized Styles */
@charset "UTF-8";

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --primary: #00c853;
    --primary-dark: #00796b;
    --accent: #64dd17;
    --dark: #0a0e17;
    --light: #f0f0f0;
    --gray: #b0b0b0;
    --dark-gray: #888;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border: rgba(0, 200, 83, 0.2);
    --success: #00c853;
    --error: #f44336;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Social Media Styles
   ========================================================================== */
.social-section {
    margin: 2rem 0;
    text-align: center;
}

.social-section p {
    color: var(--gray);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.social-link:hover {
    color: var(--primary);
    background: rgba(0, 200, 83, 0.1);
    transform: translateY(-3px);
    border-color: var(--border);
}

/* Specific social media colors on hover */
.social-link[href*="telegram"]:hover { color: #0088cc; }
.social-link[href*="twitter"]:hover { color: #1da1f2; }
.social-link[href*="facebook"]:hover { color: #1877f2; }
.social-link[href*="instagram"]:hover { color: #e4405f; }
.social-link[href*="tiktok"]:hover { color: #69c9d0; }
.social-link[href*="pinterest"]:hover { color: #e60023; }
.social-link[href*="youtube"]:hover { color: #ff0000; }

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2rem);
}

h3 {
    font-size: clamp(1.5rem, 3.5vw, 1.75rem);
}

h4 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--accent);
}

p {
    margin-bottom: 1rem;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ==========================================================================
   Background Elements
   ========================================================================== */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 200, 83, 0.2), transparent);
    animation: moveLine 20s linear infinite;
}

@keyframes moveLine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100vw);
    }
}

/* ==========================================================================
   Header
   ========================================================================== */
header {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tagline {
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

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

.sub-headline {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.description {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: var(--gray);
    margin: 1.5rem 0;
    line-height: 1.7;
}

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

/* ==========================================================================
   Countdown Timer
   ========================================================================== */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    min-width: 80px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.countdown-value {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--gray);
    margin-top: 0.5rem;
}

/* ==========================================================================
   Notify Form
   ========================================================================== */
.notify-section {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.notify-form {
    display: flex;
    max-width: 500px;
    margin: 1.5rem auto;
    gap: 0.75rem;
}

.email-input {
    flex-grow: 1;
    padding: 1rem 1.25rem;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 200, 83, 0.3);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.1);
}

.email-input::placeholder {
    color: var(--dark-gray);
}

.notify-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.3);
}

.notify-btn i {
    margin-right: 0.5rem;
}

.success-message {
    background: rgba(0, 200, 83, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.success-message i {
    margin-right: 0.5rem;
}

.privacy-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.privacy-note i {
    margin-right: 0.5rem;
    color: var(--primary);
}

/* ==========================================================================
   Section Titles
   ========================================================================== */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

/* ==========================================================================
   Problem Solving Section
   ========================================================================== */
.problem-solving {
    margin: 4rem 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.problem-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.problem-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.problem-card h3 i {
    margin-right: 0.5rem;
}

.problem-card ul {
    list-style: none;
    margin: 1rem 0;
}

.problem-card li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.problem-card li::before {
    content: '✓';
    color: var(--primary);
    position: absolute;
    left: 0;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features {
    margin: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

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

.feature-desc {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   Author Section
   ========================================================================== */
.author-section {
    margin: 4rem 0;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
}

.author-card {
    max-width: 600px;
    margin: 0 auto;
}

.author-title {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.author-credentials {
    margin: 1.5rem 0;
}

.author-quote {
    background: rgba(0, 200, 83, 0.05);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.author-quote blockquote {
    font-style: italic;
    color: var(--gray);
    line-height: 1.7;
}

.author-quote i.fa-quote-left {
    color: var(--primary);
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

.author-quote cite {
    display: block;
    margin-top: 0.75rem;
    color: var(--light);
    font-style: normal;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    margin: 4rem 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
}

.faq-item h3 {
    color: var(--primary);
    cursor: pointer;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.faq-item h3 i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.faq-item h3::after {
    content: '+';
    font-size: 1.5rem;
    margin-left: auto;
}

.faq-item[open] h3::after {
    content: '−';
}

.faq-item p {
    color: var(--gray);
    line-height: 1.6;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
    text-align: center;
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.1), rgba(0, 121, 107, 0.1));
    border-radius: 15px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-button.primary {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.2);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.badge {
    color: var(--gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge i {
    color: var(--primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    padding: 3rem 0 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4,
.footer-section h5 {
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h3 i,
.footer-section h4 i,
.footer-section h5 i {
    color: var(--primary);
}

.footer-address,
.footer-email {
    color: var(--gray);
    line-height: 1.6;
    margin: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-address i,
.footer-email i {
    color: var(--primary);
    margin-top: 0.25rem;
}

.legal-links {
    list-style: none;
}

.legal-links li {
    margin-bottom: 0.5rem;
}

.legal-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.legal-links a i {
    width: 20px;
    text-align: center;
}

.compliance-notice {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 8px;
    color: var(--gray);
    font-size: 0.85rem;
}

.compliance-notice i {
    color: #f44336;
    margin-right: 0.5rem;
}

.footer-form {
    display: flex;
    margin-top: 1rem;
}

.footer-form input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 5px 0 0 5px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 0.9rem;
}

.footer-form button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0 5px 5px 0;
    background: var(--primary);
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer-bottom p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-bottom i {
    color: var(--primary);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 0.75rem 0.5rem;
    }
    
    .notify-form {
        flex-direction: column;
    }
    
    .notify-section,
    .author-section,
    .final-cta {
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-address,
    .footer-email,
    .legal-links a,
    .footer-bottom p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .problem-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .social-link:hover,
    .countdown-item:hover,
    .feature-card:hover,
    .problem-card:hover,
    .cta-button:hover,
    .notify-btn:hover {
        transform: none;
    }
}

/* ==========================================================================
   Focus Styles
   ========================================================================== */
:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    .background-elements,
    .notify-section,
    .social-links,
    .cta-buttons,
    .social-section {
        display: none !important;
    }
    
    body {
        color: black;
        background: white;
        font-size: 12pt;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .container {
        max-width: 100%;
    }
    
    .hero {
        min-height: auto;
        padding: 1rem 0;
    }
    
    footer {
        background: white !important;
        color: black !important;
    }
    
    .footer-section h3,
    .footer-section h4,
    .footer-section h5,
    .footer-bottom p {
        color: black !important;
    }
}
