* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a3a32 0%, #227d4e 100%); 
    color: #e0e0e0;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative; 
}

body::before {
    content: "";
    position: fixed; 
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
    pointer-events: none; 
}

h1, h2, h3 {
    font-weight: 700;
    color: #ffffff;
}

h1 {
    font-size: clamp(3em, 7vw, 5em);
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #2ecc71, #cc9600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%; 
    animation:
        fadeIn 1.5s ease-out,
        gradientShimmer 8s ease infinite;
}

h2 {
    font-size: clamp(2em, 4vw, 2.8em);
    margin-bottom: 35px;
    border-bottom: 2px solid rgba(52, 211, 153, 0.6); 
    padding-bottom: 12px;
    display: inline-block;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

h3 {
    font-size: clamp(1.5em, 3vw, 1.8em);
    margin-bottom: 15px;
    color: #f5f5f5; 
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

p {
    font-size: clamp(1em, 1.8vw, 1.15em);
    color: #d8d8d8; 
    margin-bottom: 20px;
    font-weight: 300;
}

.highlight {
    color: #34d399;
    font-weight: 600;
}

a {
    color: #34d399;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #a7f3d0;
}

header {
    padding: 80px 20px 60px;
    text-align: center;
    background: rgba(0, 0, 0, 0.45); 
    backdrop-filter: blur(12px); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.12); 
    position: relative; 
}

.subtitle {
    font-size: clamp(1.2em, 2.5vw, 1.6em);
    margin-top: 15px;
    color: #d0d0d0;
    font-weight: 300;
    animation: fadeIn 2s ease-out;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.share-button {
    position: absolute;
    top: 30px; 
    right: 30px; 
    font-size: 1.8em; 
    color: #d0d0d0; 
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    z-index: 10; 
}

.share-button:hover {
    color: #34d399; 
    transform: scale(1.15) rotate(5deg); 
}

.share-options-menu {
    position: absolute; 
    display: block; 
    visibility: hidden; 
    background: rgba(15, 25, 20, 0.8); 
    backdrop-filter: blur(14px); 
    border-radius: 16px; 
    border: 1px solid rgba(255, 255, 255, 0.1); 
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55); 
    padding: 12px 0; 
    z-index: 100;
    min-width: 210px; 
    opacity: 0;
    transform: translateY(8px) scale(0.97); 
    transform-origin: top right; 
    transition: opacity 0.25s ease-out, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0s 0.25s linear; 
    pointer-events: none; 
    top: -9999px;
    left: -9999px;
}

.share-options-menu.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible; 
    transition: opacity 0.25s ease-out, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0s 0s linear; 
    pointer-events: auto; 
}

.share-option-item {
    display: flex;
    align-items: center;
    padding: 11px 22px; 
    color: #e8e8e8; 
    text-decoration: none;
    font-size: 1em; 
    font-weight: 400; 
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    position: relative; 
    border-radius: 0; 
}

.share-option-item i {
    margin-right: 16px; 
    width: 22px; 
    text-align: center;
    color: #34d399; 
    font-size: 1.15em; 
    transition: transform 0.2s ease;
}

.share-option-item:hover {
    background-color: rgba(52, 211, 153, 0.15); 
    color: #ffffff; 
}

.share-option-item:hover i {
   transform: scale(1.1) rotate(-5deg);
}

#copy-link-button {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#copy-link-button.copied .copy-link-text {
    color: #2ecc71;
    font-weight: 600;
}

#copy-link-button.copied i {
    color: #2ecc71;
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .share-options-menu {
        min-width: 180px;
        border-radius: 14px;
    }
    .share-option-item {
        padding: 10px 18px;
        font-size: 0.95em;
    }
     .share-option-item i {
        margin-right: 12px;
        width: 20px;
        font-size: 1.1em;
    }
}

.container {
    max-width: 1100px;
    margin: 70px auto; 
    padding: clamp(35px, 5vw, 65px);
    background: rgba(255, 255, 255, 0.07); 
    border-radius: 28px; 
    
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0,0,0,0.1) inset;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1); 
    opacity: 0;
    animation: fadeInUp 0.9s ease-out forwards;
}

.main-content { animation-delay: 0.3s; }

.faq-section { animation-delay: 0.5s; }

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); 
    gap: 40px; 
    margin: 50px 0;
    opacity: 0;
    animation: fadeInUp 0.9s ease-out forwards;
    animation-delay: 0.6s;
}

.feature-item {
    background: rgba(0, 0, 0, 0.25); 
    padding: 35px; 
    border-radius: 18px; 
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08); 
    transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}

.feature-item:hover {
    transform: translateY(-12px); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
    background: rgba(0, 0, 0, 0.35);
}

.feature-icon {
    font-size: 3em; 
    color: #34d399;
    margin-bottom: 20px;
    display: block;
    transition: color 0.3s ease, transform 0.3s ease; 
}

.feature-item:hover .feature-icon {
    color: #a5e061; 
    transform: scale(1.3) rotate(-5deg); 
}

.faq-item h3 {
    color: #e8e8e8;
}

.mockup-section {
    margin: 70px 0;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.9s ease-out forwards;
    animation-delay: 0.8s;
}
.mockup-section img {
    max-width: 100%;
    height: auto;
    border-radius: 18px; 
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
    border: 4px solid rgba(255, 255, 255, 0.08); 
}

.form-section {
    margin-top: 60px;
    padding: 45px clamp(25px, 5vw, 55px);
    background: rgba(0, 0, 0, 0.3); 
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.9s ease-out forwards;
    animation-delay: 1s;
}

.form-section h3 {
    margin-bottom: 15px;
}

.form-section p {
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.form-message {
    margin: 0 auto 25px auto;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 500;
    text-align: left;
    opacity: 0; 
    max-height: 0; 
    overflow: hidden; 
    transition: opacity 0.4s ease, max-height 0.4s ease, margin-bottom 0.4s ease, padding 0.4s ease; 
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 500px;
    display: flex;
    align-items: center;
    margin-bottom: 0; 
    padding-top: 0;
    padding-bottom: 0;
}

.form-message.show {
    opacity: 1;
    max-height: 100px; 
    margin-bottom: 25px; 
    padding-top: 15px; 
    padding-bottom: 15px;
}

.message-icon {
    margin-right: 15px;
    font-size: 1.3em;
    flex-shrink: 0; 
}

.form-message.success {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.9), rgba(39, 174, 96, 0.9));
    color: #ffffff;
    border-color: rgba(46, 204, 113, 0.6);
}

.form-message.error {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.9), rgba(192, 57, 43, 0.9));
    color: #ffffff;
    border-color: rgba(231, 76, 60, 0.6);
}

#signup-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

input[type="email"] {
    flex-grow: 1;
    padding: 16px 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 1.1em;
    background: rgba(255, 255, 255, 0.92); 
    color: #2c3e50;
    outline: none;
    transition: all 0.3s ease;
    min-width: 250px;
}

input[type="email"]::placeholder {
    color: #7f8c8d;
}

input[type="email"]:focus {
    transform: scale(1.02);
    
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.4), 0 0 15px rgba(52, 211, 153, 0.3);
    border-color: rgba(52, 211, 153, 0.8);
    background: #ffffff;
}

button[type="submit"] {
    padding: 16px 40px;
    background: linear-gradient(95deg, #2ecc71, #27ae60); 
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.15em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    min-width: 220px; 
    height: 53px; 
    text-align: center; 
}

button[type="submit"]:hover:not(:disabled) { 
    transform: translateY(-3px) scale(1.08) rotate(2deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    background: linear-gradient(95deg, #34d399, #2ecc71);
}

button[type="submit"]:disabled {
    background: linear-gradient(95deg, #888, #777);
    cursor: wait; 
    opacity: 0.7;
}

.counter-text {
    font-size: 1.05em;
    color: #b8b8b8; 
    margin-top: 30px;
    font-weight: 400;
}

#counter {
    color: #34d399;
    font-weight: 700;
    display: inline-block;
    transition: transform 0.5s ease;
    padding: 0 4px; 
}

#counter.pulse {
    animation: pulse 0.6s ease-in-out;
}

footer {
    padding: 35px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.65); 
    color: #a8a8a8;
    font-size: 0.95em;
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1.2s;
}

footer p {
    margin-bottom: 15px;
    font-size: inherit;
    color: inherit;
}

footer a {
    color: #34d399;
    font-weight: 500;
}

footer a:hover {
    color: #a7f3d0;
    text-decoration: underline;
}

.social-icons a {
    margin: 0 12px;
    font-size: 1.7em; 
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    transform: scale(1.25) rotate(8deg); 
    color: #ffffff;
    text-decoration: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(45px); } 
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

@keyframes gradientShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
    body { line-height: 1.6; }
    header { padding: 60px 15px 40px; }
    .share-button {
        top: 20px;
        right: 20px;
        font-size: 1.6em;
    }
    .container {
        margin: 40px 15px;
        padding: 30px 20px;
    }
    h1 { letter-spacing: 3px; }
    h2 { margin-bottom: 30px; }
    p { font-size: 1em; }

    .features {
        grid-template-columns: 1fr; 
        gap: 30px;
        
        margin-top: 50px; 
        margin-bottom: 50px; 
        margin-left: 5%;     
        margin-right: 5%;    
    }
    .feature-item {
        padding: 30px; 
    }
    .form-section { padding: 35px 25px; }

    #signup-form {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    input[type="email"], button[type="submit"] {
        width: 100%;
        max-width: none;
        min-width: auto;
    }
    button[type="submit"] {
        padding: 16px 30px;
        height: auto;
    }
    .counter-text { margin-top: 25px; }
    footer { padding: 30px 15px; }
    .social-icons a { font-size: 1.6em; margin: 0 10px; }
}

@media (max-width: 480px) {
    .share-button {
        top: 15px;
        right: 15px;
        font-size: 1.5em;
     }
     .container {
        padding: 25px 15px;
    }
    .feature-item {
        padding: 25px; 
    }
    
    .features {
        margin-left: 0; 
        margin-right: 0; 
    }

    h1 { font-size: 2.6em; letter-spacing: 2px; }
    .subtitle { font-size: 1.1em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.4em; }
    .feature-icon { font-size: 2.6em; }
    .form-message { font-size: 1em; padding: 12px 20px; }
    .form-message.show { padding-top: 12px; padding-bottom: 12px; }
    .message-icon { font-size: 1.2em; margin-right: 10px; }
}