/* ========== Base Styles ========== */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --secondary: #0ea5e9;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --success: #10b981;
    --error: #ef4444;
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* ========== Header & Navigation ========== */
.site-header {
    padding: 1rem 0;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-container a {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.logo {
    width: 40px;
    height: 40px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0;
}

.site-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.cta-button {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

/* ========== Hero Section ========== */
.hero {
    background: linear-gradient(to bottom, #f0f4f8, #ffffff);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.security-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    padding: 0.75rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--gray);
}

.hero-image {
    max-width: 500px;
    margin-left: auto;
}

/* ========== Try Wallet Section ========== */
.try-wallet {
    padding: 4rem 0;
}

.card {
    background-color: white;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.features-list {
    margin: 1.5rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--success);
}

.primary-button {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-self: flex-start;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    color: white;
}

.card-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* ========== Swap Fee Section ========== */
.swap-fee {
    padding: 4rem 0;
    background-color: #f0f4f8;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.fees-comparison {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.fee-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 2rem;
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s ease;
}

.fee-card:hover {
    transform: translateY(-5px);
}

.fee-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.fee-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.fee-percentage {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.competitor .fee-percentage {
    color: var(--error);
}

.fee-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fee-benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fee-benefit svg {
    width: 20px;
    height: 20px;
    color: var(--success);
}

.fee-benefit.negative svg {
    color: var(--error);
}

/* ========== Coming Soon Stake Section ========== */
.coming-soon {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f0f4f8, #ffffff);
    text-align: center;
}

.stake-features-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem 0;
}

.stake-features-centered .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    color: var(--dark);
}

.check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
}

.yield-card {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow: var(--card-shadow);
    text-align: center;
    max-width: 320px;
    width: 100%;
    margin: 2rem auto;
}

.yield-card h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--gray);
    font-weight: 500;
}

.yield-range {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.yield-card p {
    font-size: 0.9rem;
    color: var(--gray);
}

.waitlist-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem 0 0.5rem;
}

.waitlist-container p {
    font-weight: 500;
    color: var(--dark);
}

.waitlist-container .primary-button {
    align-self: center;
}

/* ========== Fast and Simple Section ========== */
.fast-simple {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box .feature-icon {
    margin: 0 auto 1rem;
}

.feature-box h3 {
    margin-bottom: 0.75rem;
}

.feature-box p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ========== Footer ========== */
.site-footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    grid-column: span 2;
}

.footer-brand .logo-container {
    margin-bottom: 1rem;
}

.footer-brand p {
    opacity: 0.8;
    max-width: 300px;
}

.footer-logo {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-links h4:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: white;
}

/* ========== Animation Classes ========== */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.slide-up {
    animation: slideUp 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Responsive Design ========== */
@media (max-width: 991px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        grid-row: 1;
        margin: 0 auto;
    }
    
    .card {
        grid-template-columns: 1fr;
    }
    
    .card-image {
        order: -1;
    }
    
    /* Stake section responsive */
    .stake-preview {
        grid-template-columns: 1fr;
    }
    
    .stake-image {
        margin: 0 auto;
        order: -1;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* ========== Contact Section ========== */
.contact-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.contact-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form-wrapper {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background-color: white;
    color: #1e293b;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.contact-submit {
    margin-top: 0.5rem;
    align-self: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.contact-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-card p {
    color: var(--gray);
}

/* Add these to the responsive section */
@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .contact-card {
        flex: 1 1 200px;
    }
}

@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
    }
} 