@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

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

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(223, 155, 67, 0.5); }
    50% { box-shadow: 0 0 20px rgba(223, 155, 67, 0.8); }
    100% { box-shadow: 0 0 5px rgba(223, 155, 67, 0.5); }
}

:root {
    --primary: #DF9B43;
    --primary-dark: #C78A3B;
    --secondary: #1E1E24;
    --secondary-light: #2D2D35;
    --accent: #6F42C1;
    --background: #FFFFFF;
    --light-gray: #f8f8f8;
    --gray: #757575;
    --border-radius: 10px;
    --gradient: linear-gradient(135deg, #DF9B43 0%, #E8B870 100%);
    --dynamic-gradient: linear-gradient(135deg, #DF9B43, #E09349, #D17E38, #E8B870);
    --dark-gradient: linear-gradient(135deg, #1E1E24 0%, #2D2D35 100%);
    --accent-gradient: linear-gradient(135deg, #6F42C1 0%, #9F75E5 100%);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --box-shadow: 0 10px 30px rgba(30, 30, 36, 0.08);
    --hover-shadow: 0 20px 40px rgba(30, 30, 36, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--secondary);
    background-color: var(--background);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 60vw;
    height: 100vh;
    background: radial-gradient(circle at top right, rgba(223, 155, 67, 0.03), rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary), var(--primary-dark));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    margin-bottom: 16px;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary) 60%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-image: var(--dynamic-gradient);
    background-size: 300% 300%;
    animation: gradient-shift 5s ease infinite;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 40px;
    margin-right: 12px;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--secondary);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-links li {
    margin-left: 32px;
}

.nav-links a {
    color: var(--secondary);
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
}

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

.btn {
    display: inline-block;
    background-image: var(--dynamic-gradient);
    background-size: 300% 300%;
    animation: gradient-shift 5s ease infinite;
    color: white;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(223, 155, 67, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.5s;
}

.btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(223, 155, 67, 0.5);
}

.btn:hover::before {
    left: 100%;
}

.btn-outline {
    background-image: none;
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    animation: none;
}

.btn-outline:hover {
    background-image: var(--dynamic-gradient);
    background-size: 300% 300%;
    animation: gradient-shift 5s ease infinite;
    color: white;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(223, 155, 67, 0.07) 0%, rgba(255, 255, 255, 0) 60%);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(223, 155, 67, 0.05) 0%, rgba(255, 255, 255, 0) 60%);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 550px;
    position: relative;
}

/* Floating Bitcoin icons in background */
.hero-content::before {
    content: '₿';
    position: absolute;
    font-size: 180px;
    color: rgba(223, 155, 67, 0.03);
    top: -100px;
    left: -80px;
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

.hero-content::after {
    content: '₿';
    position: absolute;
    font-size: 120px;
    color: rgba(223, 155, 67, 0.02);
    bottom: -80px;
    right: -40px;
    z-index: -1;
    animation: float 6s ease-in-out infinite 1s;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary) 60%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, #E09349 50%, #D17E38 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(223, 155, 67, 0.2);
    z-index: -1;
}

.hero-description {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 32px;
}

.email-form {
    display: flex;
    max-width: 450px;
    margin-bottom: 16px;
    position: relative;
    z-index: 10;
}

.email-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    outline: none;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.email-input:focus {
    box-shadow: 0 4px 20px rgba(223, 155, 67, 0.15);
}

.submit-btn {
    background: var(--gradient);
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(223, 155, 67, 0.2);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.submit-btn:hover {
    box-shadow: 0 6px 20px rgba(223, 155, 67, 0.3);
}

.submit-btn:hover::before {
    left: 100%;
}

.subscribers {
    font-size: 14px;
    color: var(--gray);
}

.hero-image {
    flex: 1;
    max-width: 450px;
    margin-left: 40px;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Features */
.features {
    background-color: var(--light-gray);
}

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

.feature-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(223, 155, 67, 0.05), transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-image: var(--dynamic-gradient);
    background-size: 300% 300%;
    animation: gradient-shift 5s ease infinite;
    transition: height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--hover-shadow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    height: 100%;
}

.feature-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(223, 155, 67, 0.15) 0%, rgba(255, 255, 255, 0) 80%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dynamic-gradient);
    background-size: 300% 300%;
    animation: gradient-shift 5s ease infinite;
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    color: white;
    transform: translateY(-5px);
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.feature-card:hover .feature-title {
    color: var(--primary);
}

/* Newsletter Preview */
.preview {
    background-color: var(--background);
}

.preview-container {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transform: perspective(1200px) rotateY(0deg);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
}

.preview-container:hover {
    transform: perspective(1200px) rotateY(2deg) translateY(-10px);
    box-shadow: 0 25px 50px rgba(30, 30, 36, 0.15);
}

.preview-container::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
    animation: pulse 5s infinite;
}

.preview-container::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.05;
    z-index: -1;
    animation: pulse 7s infinite 1s;
}

.preview-header {
    background: var(--gradient);
    color: white;
    padding: 24px 32px;
    position: relative;
    overflow: hidden;
}

.preview-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    z-index: 1;
    pointer-events: none;
}

.preview-title {
    font-size: 20px;
    margin-bottom: 4px;
}

.preview-date {
    font-size: 14px;
    opacity: 0.9;
}

.preview-body {
    padding: 32px;
}

.preview-section {
    margin-bottom: 24px;
}

.preview-section-title {
    font-size: 18px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.preview-article {
    margin-bottom: 16px;
}

.preview-article-title {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.preview-footer {
    background-color: #f7f7f7;
    padding: 20px 32px;
    text-align: center;
}

/* Testimonials */
.testimonials {
    background-color: var(--light-gray);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
    z-index: 1;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.testimonial-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-image: var(--dynamic-gradient);
    background-size: 300% 300%;
    animation: gradient-shift 5s ease infinite;
    transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover::after {
    width: 100%;
}

.testimonial-content {
    position: relative;
    padding: 0 16px;
    margin-bottom: 24px;
}

.testimonial-content::before {
    content: """;
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 80px;
    background: var(--dynamic-gradient);
    background-size: 300% 300%;
    animation: gradient-shift 5s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.5;
    transform: rotate(180deg);
}

.testimonial-content::after {
    content: """;
    position: absolute;
    bottom: -60px;
    right: -10px;
    font-size: 80px;
    background: var(--dynamic-gradient);
    background-size: 300% 300%;
    animation: gradient-shift 5s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 16px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.author-role {
    font-size: 14px;
    color: var(--gray);
}

/* CTA Section */
.cta {
    background: var(--dark-gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23DF9B43' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 0;
}

.cta-title {
    color: white;
    font-size: 36px;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form {
    display: flex;
    max-width: 450px;
    margin: 0 auto 16px;
}

.cta-input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
}

.cta-btn {
    background-color: var(--secondary);
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
}

.cta-btn:hover {
    background-color: #1a1a1a;
}

.cta-note {
    font-size: 14px;
    opacity: 0.8;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-about img {
    height: 40px;
    margin-bottom: 16px;
}

.footer-about p {
    margin-bottom: 20px;
    color: #bbb;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 12px;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-nav h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: white;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #aaa;
}

/* Mobile Styles */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .email-form {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-image {
        max-width: 80%;
        margin-left: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .email-form, .cta-form {
        flex-direction: column;
    }
    
    .email-input, .cta-input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .submit-btn, .cta-btn {
        border-radius: var(--border-radius);
        width: 100%;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}