/* Moghrey Mie - Warm Sunrise Theme */
:root {
    /* Sunrise Color Palette */
    --sunrise-amber: #FF8C42;
    --sunrise-orange: #FF6B35;
    --warm-white: #FFF9F0;
    --soft-blue: #4A90E2;
    --sky-blue: #87CEEB;
    --morning-gold: #FFD166;
    --warm-gray: #6D6875;
    --dark-blue: #1A365D;
    
    /* Isle of Man Accents */
    --iom-red: #CE1126;
    --iom-gold: #B8860B;
    --celtic-green: #228B22;
    
    /* Functional Colors */
    --text-primary: #2D3748;
    --text-secondary: #4A5568;
    --text-light: #718096;
    --border-color: #E2E8F0;
    --background-light: #FAFAFA;
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Typography */
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --font-body: 'Georgia', 'Times New Roman', serif;
    --font-mono: 'Courier New', monospace;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px var(--shadow-color);
    --shadow-md: 0 4px 6px -1px var(--shadow-color), 0 2px 4px -1px var(--shadow-color);
    --shadow-lg: 0 10px 15px -3px var(--shadow-color), 0 4px 6px -2px var(--shadow-color);
    --shadow-xl: 0 20px 25px -5px var(--shadow-color), 0 10px 10px -5px var(--shadow-color);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--warm-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--sunrise-amber);
    color: white;
    padding: var(--space-sm) var(--space-md);
    text-decoration: none;
    z-index: 9999;
    border-radius: 0 0 var(--radius-md) 0;
    font-weight: bold;
}

.skip-link:focus {
    top: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--sunrise-amber), var(--sunrise-orange));
    color: white;
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
    color: var(--morning-gold);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.site-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: var(--space-xs);
}

/* Navigation */
.nav {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-link.active {
    background: var(--morning-gold);
    color: var(--sunrise-orange);
    font-weight: bold;
}

.nav-cta {
    background: var(--morning-gold);
    color: var(--sunrise-orange) !important;
    font-weight: bold;
}

.nav-cta:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--sky-blue), var(--soft-blue));
    color: white;
    padding: var(--space-3xl) 0 var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 140, 66, 0.3), transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.2), transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    margin-bottom: var(--space-lg);
}

.hero-greeting {
    display: block;
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--morning-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: var(--space-sm);
}

.hero-subtitle {
    display: block;
    font-size: 1.8rem;
    color: white;
    font-weight: normal;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--morning-gold);
}

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

/* Subscribe Form */
.subscribe-form {
    background: rgba(255, 255, 255, 0.95);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
}

.form-title {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: var(--space-sm);
}

.form-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group input {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--sunrise-amber);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.2);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--sunrise-amber), var(--sunrise-orange));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.1rem;
}

.btn-secondary {
    background: var(--soft-blue);
    color: white;
}

.btn-secondary:hover {
    background: var(--sky-blue);
    transform: translateY(-2px);
}

.form-note {
    margin-top: var(--space-md);
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-success {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: var(--space-md);
}

.success-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

/* Sunrise Wave */
.sunrise-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--warm-white);
}

.sunrise-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Features Section */
.features {
    padding: var(--space-3xl) 0;
    background: var(--warm-white);
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.feature-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--sunrise-amber);
    margin-bottom: var(--space-lg);
}

.feature-title {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: var(--space-md);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Sample Edition */
.sample-edition {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--warm-white), #f0f7ff);
}

.sample-content {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.sample-header {
    background: linear-gradient(135deg, var(--sunrise-amber), var(--sunrise-orange));
    color: white;
    padding: var(--space-xl);
    text-align: center;
}

.sample-date {
    margin-bottom: var(--space-sm);
}

.sample-day {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.sample-full-date {
    font-size: 1rem;
    opacity: 0.9;
}

.sample-title {
    font-size: 1.8rem;
    margin: 0;
}

.sample-sections {
    padding: var(--space-xl);
}

.sample-section {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 2px solid var(--border-color);
}

.sample-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sample-section-title {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.sample-section-title i {
    color: var(--sunrise-amber);
}

.sample-text {
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 1.1rem;
}

.sample-cta {
    background: var(--background-light);
    padding: var(--space-xl);
    text-align: center;
    border-top: 2px solid var(--border-color);
}

.sample-cta p {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

/* About Section */
.about {
    padding: var(--space-3xl) 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.about-points {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.about-point {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.about-point i {
    font-size: 1.5rem;
    color: var(--sunrise-amber);
    margin-top: var(--space-xs);
}

.about-point h3 {
    font-size: 1.2rem;
    color: var(--dark-blue);
    margin-bottom: var(--space-xs);
}

.about-point p {
    color: var(--text-secondary);
}

.about-closing {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-secondary);
    border-left: 4px solid var(--sunrise-amber);
    padding-left: var(--space-lg);
    margin-top: var(--space-xl);
}

.about-image {
    text-align: center;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--sky-blue), var(--soft-blue));
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    color: white;
    font-size: 5rem;
    box-shadow: var(--shadow-lg);
}

.image-placeholder span {
    display: block;
    font-size: 1.2rem;
    margin-top: var(--space-md);
}

/* Testimonials */
.testimonials {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #f0f7ff, var(--warm-white));
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin: var(--space-2xl) 0;
}

.testimonial-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: var(--space-lg);
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--sunrise-amber);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--sky-blue), var(--soft-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-name {
    font-size: 1.1rem;
    color: var(--dark-blue);
    margin-bottom: var(--space-xs);
}

.author-location {
    font-size: 0.9rem;
    color: var(--text-light);
}

.subscriber-count {
    text-align: center;
    margin-top: var(--space-2xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--sunrise-amber), var(--sunrise-orange));
    border-radius: var(--radius-xl);
    color: white;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.count-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--morning-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

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

/* Final CTA */
.final-cta {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--dark-blue), #2D3748);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    color: var(--morning-gold);
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

.cta-form {
    margin-bottom: var(--space-xl);
}

.form-row {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.form-row input {
    flex: 1;
    padding: var(--space-md);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-row input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-row input:focus {
    outline: none;
    border-color: var(--morning-gold);
    background: rgba(255, 255, 255, 0.15);
}

.cta-guarantee {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    opacity: 0.9;
}

.guarantee-item i {
    color: var(--morning-gold);
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: white;
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo i {
    font-size: 2rem;
    color: var(--morning-gold);
}

.footer-logo h3 {
    font-size: 1.5rem;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--sunrise-amber);
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 1.2rem;
    color: var(--morning-gold);
    margin-bottom: var(--space-lg);
}

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

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--morning-gold);
    padding-left: var(--space-xs);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.footer-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .hero-greeting {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--sunrise-orange);
        padding: var(--space-md);
        box-shadow: var(--shadow-lg);
    }
    
    .nav.nav-open {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-guarantee {
        flex-direction: column;
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: var(--space-2xl) 0 var(--space-xl);
    }
    
    .subscribe-form {
        padding: var(--space-lg);
    }
    
    .feature-card {
        padding: var(--space-lg);
    }
    
    .sample-header {
        padding: var(--space-lg);
    }
    
    .sample-sections {
        padding: var(--space-lg);
    }
}

/* Print Styles */
@media print {
    .header,
    .nav,
    .subscribe-form,
    .final-cta,
    .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .hero {
        background: white !important;
        color: black !important;
        padding: 1rem 0;
    }
    
    .hero::before {
        display: none;
    }
    
    .sunrise-wave {
        display: none;
    }
}
