/* Header */
header {
    background: var(--primary-gradient);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.header-decoration {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.logo {
    color:white;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    text-align: center;
}

.stat {
    background: var(--accent-gradient);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    font-weight: bold;
}

.stat-number {
    font-size: 2rem;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* FOMO Section */
.fomo-section {
    background: var(--warning-gradient);
    color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 2rem 0;
}

.countdown {
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0;
}

/* SMS Signup */
.sms-signup {
    background: var(--secondary-gradient);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 15px 35px rgba(79, 172, 254, 0.3);
}

.urgency-banner {
    background: #ff6b6b;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
    animation: pulse 2s infinite;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-row {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-row label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.form-row input {
    width: 100%;
    max-width: none;
    margin-bottom: 0.5rem;
}

.form-row input[type="text"] {
    opacity: 0.8;
    font-size: 14px;
}

input[type="tel"], 
input[type="text"] {
    width: 100%;
    max-width: 300px;
    padding: 15px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    font-size: 16px;
    text-align: center;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.9);
    transition: var(--transition);
}

input[type="tel"]:focus, 
input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.btn {
    background: var(--primary-gradient);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.form-disclaimer {
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.9;
}

/* Referral Section */
.referral-section {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
    text-align: center;
    border: 3px dashed #4facfe;
    position: relative;
}

.referral-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.friend-signup {
   background: var(--light-bg);
   padding: 2rem;
   border-radius: 10px;
   margin: 2rem 0;
}

.friend-signup input {
   background: white;
   border: 2px solid #ddd;
   color: var(--text-color);
}

.referral-note {
   font-size: 0.9rem;
   color: #666;
   margin-top: 1rem;
}

.referral-rewards {
   background: #fff3cd;
   padding: 1.5rem;
   border-radius: 8px;
   border-left: 4px solid #ffc107;
   margin-top: 2rem;
   text-align: left;
}

/* Testimonials */
.testimonials {
   background: var(--white);
   padding: 3rem 2rem;
   border-radius: var(--border-radius);
   margin: 3rem 0;
}

.testimonials h3 {
   text-align: center;
   margin-bottom: 2rem;
}

.testimonial {
   background: var(--light-bg);
   padding: 2rem;
   border-radius: 10px;
   margin: 1rem 0;
   border-left: 4px solid #4facfe;
}

.testimonial-author {
   font-weight: bold;
   color: var(--primary-color);
   margin-top: 1rem;
}

/* Features */
.features {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 2rem;
   margin: 3rem 0;
}

.feature {
   background: var(--white);
   padding: 2.5rem;
   border-radius: var(--border-radius);
   box-shadow: 0 5px 20px rgba(0,0,0,0.1);
   text-align: center;
   transition: var(--transition);
}

.feature:hover {
   transform: translateY(-10px);
}

.feature-icon {
   font-size: 3rem;
   margin-bottom: 1rem;
}

/* Social Proof */
.social-proof {
   text-align: center;
   margin: 2rem 0;
   color: #666;
}

.subscriber-count {
   font-size: 1.5rem;
   font-weight: bold;
   color: #4facfe;
}

.rating {
   margin-top: 1rem;
   font-size: 0.9rem;
}

/* Guarantee */
.guarantee {
   background: #e8f5e8;
   border: 2px solid #4caf50;
   padding: 2rem;
   border-radius: 10px;
   text-align: center;
   margin: 2rem 0;
}

.guarantee h4 {
   color: #2e7d32;
   margin-bottom: 1rem;
}

/* Footer */
footer {
   background: var(--primary-color);
   color: white;
   text-align: center;
   padding: 3rem;
   margin-top: 4rem;
}

.legal {
   font-size: 0.9rem;
   opacity: 0.8;
   margin-top: 1rem;
}

.footer-links {
   margin-top: 1rem;
}

.footer-links a {
   color: #bbb;
}

.copyright {
   margin-top: 1rem;
}

/* Animations */
@keyframes pulse {
   0% { transform: scale(1); }
   50% { transform: scale(1.05); }
   100% { transform: scale(1); }
}

/* Form Error States */
.form-error {
   color: #f44336;
   font-size: 0.9rem;
   margin-top: 0.5rem;
   text-align: left;
}

input.error {
   border-color: #f44336 !important;
   box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.btn.loading {
   opacity: 0.7;
   transform: none;
}

/* Messages */
.form-message {
   position: fixed;
   top: 20px;
   left: 50%;
   transform: translateX(-50%);
   z-index: 1000;
   padding: 1rem 2rem;
   border-radius: 8px;
   display: flex;
   align-items: center;
   gap: 10px;
   max-width: 90%;
   animation: slideDown 0.3s ease;
   box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.form-message.success {
   background: linear-gradient(135deg, #4caf50, #45a049);
   color: white;
}

.form-message.error {
   background: linear-gradient(135deg, #f44336, #da190b);
   color: white;
}

.message-close {
   background: none;
   border: none;
   color: white;
   font-size: 20px;
   cursor: pointer;
   padding: 0;
   margin-left: 10px;
   opacity: 0.8;
}

.message-close:hover {
   opacity: 1;
}

@keyframes slideDown {
   from {
       opacity: 0;
       transform: translateX(-50%) translateY(-20px);
   }
   to {
       opacity: 1;
       transform: translateX(-50%) translateY(0);
   }
}

/* Responsive Forms */
@media (max-width: 768px) {
   .form-row {
       margin-bottom: 1rem;
   }
   
   .form-row input {
       max-width: 100%;
   }
   
   .friend-signup {
       padding: 1.5rem;
   }
}
