/* ==============================================
   CRYPT TALK - SHARED STYLES
   ============================================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
nav {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4A90E2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #4A90E2;
}

.cta-nav {
    background: #4A90E2;
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 150px 2rem 100px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #667eea;
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

/* Section Styles */
.section {
    padding: 120px 2rem;
}

.section-alt {
    background: #f8f9fa;
}

/* Specific section spacing */
.features {
    padding: 120px 2rem;
}

.how-it-works {
    padding: 120px 2rem;
    background: white;
}

.platforms {
    padding: 120px 2rem;
    background: #f8f9fa;
}

.pricing {
    padding: 120px 2rem;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3.5rem;
    margin-top: 4.5rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.step p {
    color: #666;
    line-height: 1.8;
}

/* Platform Grid */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.platform-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.platform-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.platform-card .btn {
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3.5rem;
    margin-top: 5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.05);
}

.pricing-card.featured h3,
.pricing-card.featured .price,
.pricing-card.featured li {
    color: white;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    margin: 1.5rem 0;
    color: #667eea;
}

.price span {
    font-size: 1.2rem;
    font-weight: normal;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.7rem 0;
    color: #666;
    position: relative;
    padding-left: 2rem;
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.2rem;
}

.pricing-card.featured .pricing-features li:before {
    color: white;
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 15px;
    padding: 2.5rem;
    color: white;
    margin: 3rem 0;
    text-align: center;
}

.highlight-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.highlight-box p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.highlight-box-blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

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

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 2px solid #e0e0e0;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
}

/* Flow Container (How It Works) */
.flow-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin: 4rem 0;
}

.flow-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.flow-step:nth-child(even) {
    direction: rtl;
}

.flow-step:nth-child(even) > * {
    direction: ltr;
}

.flow-visual {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.flow-visual-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.flow-visual h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.flow-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.flow-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Feature Comparison */
.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.comparison-card {
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.comparison-bad {
    background: #ffebee;
    border: 2px solid #ef5350;
}

.comparison-good {
    background: #e8f5e9;
    border: 2px solid #4caf50;
}

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

.comparison-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.comparison-card p {
    color: #666;
    line-height: 1.8;
}

/* Info Box */
.info-box {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.info-box h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #856404;
}

.info-box p {
    color: #856404;
    line-height: 1.8;
}

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

.tech-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #667eea;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.tech-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.tech-card ul {
    list-style: none;
    padding: 0;
}

.tech-card li {
    padding: 0.5rem 0;
    color: #666;
    padding-left: 1.5rem;
    position: relative;
}

.tech-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.tech-card p {
    color: #666;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 2rem;
    text-align: center;
    border-radius: 20px;
    margin: 4rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 4rem 2rem 2rem;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #4A90E2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .flow-step {
        grid-template-columns: 1fr;
    }

    .flow-step:nth-child(even) {
        direction: ltr;
    }

    .comparison {
        grid-template-columns: 1fr;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}